calculator
James193 (8)

import time
addvariable = input("Give me a number")
addnumber = input("give me a second number")
print("your answer is...")
time.sleep(1)
print(addnumber + addvariable)

timesvariable = input("give me a number")
timesnumber = input("give me a second number")
print("your answer is...")
time.sleep(1)
print(timesvariable * timesnumber)
why cant i get my code to multiply or add???!!!!

You are viewing a single comment. View All
ReshiramWolfu (62)

@James193 Well done! Your calculator is awesome! The next step up is to add powers of numbers and power roots of numbers. And to add floats instead of ints (Decimal instead of integer)