Apollo 11 vs your laptop

Last task of the week. Apollo 11 vs Laptop was tell us about when Apollo 11 landed on the moon, 45 years ago,  the Apollo Guidance Computer was modern technology ,with a 1.024 MHz processor and 4 KB of RAM. The program is meant to tell the user how many times more ram they have. In this program I used int again, with the input, to change from string to integer, then applied the formula to that and printed all that. 
ram = int(input("RAM in your computer,in GB: "))
ram =ram*1024*1024
ram = ram /4
print("Your computer has",ram,"times more RAM.")


No comments:

Post a Comment