NMON 8 9 1. def menu(choice): 2 print("Enter 1 to convert from kilograms to pounds") 3 print) print ("Enter 2 to convert

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

NMON 8 9 1. def menu(choice): 2 print("Enter 1 to convert from kilograms to pounds") 3 print) print ("Enter 2 to convert

Post by answerhappygod »

Nmon 8 9 1 Def Menu Choice 2 Print Enter 1 To Convert From Kilograms To Pounds 3 Print Print Enter 2 To Convert 1
Nmon 8 9 1 Def Menu Choice 2 Print Enter 1 To Convert From Kilograms To Pounds 3 Print Print Enter 2 To Convert 1 (47.45 KiB) Viewed 29 times
NMON 8 9 1. def menu(choice): 2 print("Enter 1 to convert from kilograms to pounds") 3 print) print ("Enter 2 to convert from pounds to kilograms") 5 print () 6 choice- int(input("Enter your choice :") X 7-def kilograms to pounds (kilograms): kilograms kilograms 2.204 #return the calculation 10 return(kilograms) 11 print ( kilograms float(input("Please enter your weight in kilograms or in 13 14 15. def poundstokilograms (pounds): 16 pounds pounds/2.204 17 #return the calculated value 18 return (pounds) 19 print() 28 21 while True: 22 menu() 23 choice int(input("Enter your choice :)) 12
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply