Question: These Qs by python me Left:1:57:57 Rakan Alghamdi: Attempt 1 e Note: It is recommended that you sve your response as you complete each question
me Left:1:57:57 Rakan Alghamdi: Attempt 1 e Note: It is recommended that you sve your response as you complete each question Question 1 (2 points The following code snippet has an error, how can this be corrected so it prints: 123 Main Street? 1 street- Main Street" 2 address 123+street 3 print(address) 1) change the value 123 in line 2 to a string using the str function 2) reverse lines 1 and 2 3) change line 1 to read: street 123 + "Main Street 4) change line 2 to read: address 123+ "Main Street Save Question 2 (2 points) After executing the following code snippet, what part is the file object? infile open("input.txt. 1) infile 2) "input.txt 4) input
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
