07 Jul Monday Wednesday 10:00 Python Practice 20.07.06.
Make a variable and assign a number to it (any number you like). Then display your variable using print.
Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display the new value using print.
Make another variable and assign a string (some text) to it.
Then display it using print.
Make a variable for DaysPerWeek, HoursPerDay, and MinutesPerHour (or make up your own names), and then multiply them together. Use print() to show the result.
People are always saying there’s not enough time to get everything done. How many minutes would there be in a week if there were 26 hours in a day? (Hint: Change the HoursPerDay variable.) Use print() to show the result.
Write coding to solve the following question: Calculate the area and perimeter of a rectangular room, 12.5 meters by 16.7 meters. Use print() to show the result.
Sorry, the comment form is closed at this time.