Write a program that accepts a whole number as input, multiplies that number by 12and then outputs the product Hint: Remember that to think about the data type that the user will input. How can you make sure that their input is entered as a number?
1
Expert's answer
2020-09-16T05:13:36-0400
try:
a = int(input("Enter number: " ))
print("Product (x12) = " + str(a * 12))
except:
print("Entered not a number")
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Dear visitor, please use panel for submitting new questions
What do you mean by except
Leave a comment