how do you add a and b?
a+b
how do you subtract a from b?
b-a
how do you multiply a and b?
a*b
how do you do a divided by b?
a/b
how do you assign a variable?
a=hello
how do you find the remainder?
10%2
what is the output of 10%2?
0
what does \t add?
tab of space
what is the formula for printing ‘hello’?
print(“hello”)
what does a//b give?
gives the answer without any decimal points
formula for conditional statements
input=float(input(“write your guess”))
if(input==25):
print(“You guessed it!”)
else:
print(“Wrong, try again”)