multiply a variable by an integer in python code example
Example: python multiply 2 variables
num1 = "2" # first variable
num2 = "2" # second variable
output = num1*num2 # multiplied number
# Optional: print multiplied number
print(output)
num1 = "2" # first variable
num2 = "2" # second variable
output = num1*num2 # multiplied number
# Optional: print multiplied number
print(output)