2
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
Answered by ReshiramWolfu (61) [earned 5 cycles]
View Answer
1
pyelias (657)

@James193 Just so you're aware, you don't need the number = int() lines in Python.