☑ Kizspy. me After processing: SPRING
Output for marking:
OUTPUT:
SPRING
After processing: SUMMER
Output for marking:
OUTPUT:
SUMMER
Input: 10
Input: 15
After processing: FALL
After processing: Error
Output for marking:
OUTPUT:
Output for marking:
OUTPUT:
FALL
Error
Question 2: (3 marks)
The given Q2.py file contains statements to input a sentence string. You should write statements to
reverses all of the words in string.
Notes:
-Do not edit given statements in the main function.
-You can create new functions if you see it is necessary.
Sample input and output:
Enter a string: PFP191 and PRO192
Enter a string: I learn PFP191
Zoom
+ 100%
Close