r/PythonProjects2 • u/Economy_Awareness578 • Feb 25 '24
Help coding my interplanetary weight please!!!!
Im trying to finish my first coding project (new to python). Please help me with it! Promt name& weight (set at 70.5 kg)
Convert in to data type decimal
Function equation : weight= earth weight x surface gravity factor glossary
Mercury- 0.38 Venus- 0.91 Moon- 0.165 Mars- 0.38 Jupiter- 2.34 Saturn- 0.93 Uranus- 0.92 Neptune- 1.12 Pluto- 0.066
The output in weight needs to take up ten positions with two decimal points
Use s prefix in front of variables for strings *use n prefix for variables with numbers. *Use numeric data points that store decimal points.
3
3
u/exploreeverything99 Feb 25 '24
Looks like you haven't even tried and just copied your assignment instructions here
3
2
u/janus2527 Feb 25 '24
Lol looks like an assignment. What have you got so far?