Answered step by step
Verified Expert Solution
Question
1 Approved Answer
im asking in pythone code languge not another one !! i post the same quistion and ask for pythone but they answer as c+ !!!
im asking in pythone code languge not another one !! i post the same quistion and ask for pythone but they answer as c+ !!!
Problem Earth is the third nearest the fifth largest of the nine planets that orbit the sun. The planets provide a lot of interesting numbers for measurement and computation. The following table includes some information about each planet which will be used during your task. The main purpose of your supposed program is to examine computation power of these numbers, specifically. the distance between two planets, the weight and age if you were to travel to different planets, the time required to go around a specific planet, and the time required to send a message from one planet to another. The program must have the following features. 1. Print planet info function, to print all information in the above table. 2. Print options function, to print the options your program is capable achieve. 3. Get_option function, to read and retum the desired option. 4. Cal_age function to calculate and return the age if you are living on another planet. 5. Cal_weight function to calculate and return the weight if you are living on another planet. 6. Cal_message function to calculate and return the time required to send message from one planet to another. 7. Cal_distance function to calculate and return the distance between any two planets. 8. Cal_time function to calculate and return the time required going around a certain planet. 9. Any conditional loop to keep the program running until the user chooses the close (END) option. 10. Nicely format the output and include appropriate Units for the printed values. Hint: Light travels approximately at 299792458m/second. The following questions should be considered for example, but for more details you can see the exe file attached to the assignment. Ex: How much time will it take to send a message from Earth to Venus? (Assume radio waves travel at the speed of light). (1.551081.03108)/299.792458=xxxxseconds/60xxxxminutes/60xxxxhours Ex: You travelled in a Boeing 747 at 1,200km/hr. How long will it take you to go around the Earth? 12756/1200=xxyearsxxmonthsxxdaysxxhoursxxmins Ex: You are 21 years old. What is your supposed age if you live over Venus? 21+365.25/224.7=xxx years and xx months Ex: You weight is about 56kg. What is your supposed body weight if you live over Venus? 560.91=xxxkg Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started