Question: python questions A) Write a program that accept an user input in miles and convert it km as well as meters. The formulas for conversion

python questions

python questions A) Write a program that accept an user input in

A) Write a program that accept an user input in miles and convert it km as well as meters. The formulas for conversion are km = miles * 1.60935 and meters = 1000 * (value in km). For example, if the user enters 7, the program should print the result in the following form: 7 miles is equivalent to meters 11265.41 km 11.26541 O B) Write a program that asks the user's name and then age. Use appropriate variable names to store these variables. Calculate how old the user will be in 2024 years. For example, if the user enters Tony and 21, the program should print Hi Tony, in 2024 you will be 24 years old

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!