Skip to content

Instantly share code, notes, and snippets.

@cyfinfaza
Created December 14, 2020 01:08
Show Gist options
  • Save cyfinfaza/97f441f5caaa906e0fa9a12edd3148a7 to your computer and use it in GitHub Desktop.
Save cyfinfaza/97f441f5caaa906e0fa9a12edd3148a7 to your computer and use it in GitHub Desktop.
velocity
import math
while True:
mass = float(input("Mass: "))
temp = float(input("Temp (C): "))+273
print(str(math.sqrt(temp*2/mass)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment