Question: In this assignment, you will be writing a Python program that will do the following: 1. It will ask the user to keep entering positive
In this assignment, you will be writing a Python program that will do the following: 1. It will ask the user to keep entering positive numbers until they enter - 1. (We assume the user will only enter positive numbers; therefore no need to test). 2. As the inputs are being entered, the program will keep outputting the square of the number entered 3. In the end it will say "thank you." Example - When the user enters 3, it will right away print 9, when the user enters 10, it will right away print 100, and so on. When the user enters -1, it will print "Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
