Answer the following questions:
A. What do you think the purpose of this program is?
B. What does the statement in Line 4 do?
C. What does the code in Line 12 achieve?
D. What happens if the print statement in Line 16 is moved a tab forward (i.e. aligned with the if-else statement in lines 12 & 14)?
Answer:A
Answer the following questions:
A. What do you think the purpose of this program is? B. What does the statement in Line 4 do? C. What does the code in Line 12 achieve? D. What happens if the print statement in Line 16 is moved a tab forward (i.e. aligned with the if-else statement in lines 12 & 14)?