Let’s use Pythagoras theorem to calculate the length of the hypotenuse of a right-angled triangle where the other sides have lengths 3 and 4 meters.
After doing that please replace the assignments at the begging of your solution by using the function “input”. Explain the difference.
Write a program to Python to find and display the area of a rectangle (length x height). Ask the user the height and length from the keyboard with the “input” instruction.
Write a program that asks the user for their name and age, turns their age into days and prints an appropriate message, e.g.
John, you are 11344 days old