Question: Please use python to write the program. Exercise 3 - Maximum Value Write a program to get 5 integer inputs and then print the maximum

Please use python to write the program.
Exercise 3 - Maximum Value Write a program to get 5 integer inputs and then print the maximum one. Assume that the user will input integers only. Hint: Use for statement to get user inputs 5 times. Use if statement to compare the integers. The following is the sample output of the program: Input a number: 15 Input a number: 3 Input a number: 21 Input a number: 9 Input a number: 18 Maximum is 21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
