100 days of Python Exercise
Day 8: Exercise on Einsteins' formula
Today's exercise is based on the famous energy formula
m = int(input("m: "))
def einstein():
return m *300000000**2
result = einstein()
print("E: "+str(result))
#this is a code for the formula any mass you in...
brrrpcodes.hashnode.dev1 min read