Write a program that accepts a whole number as input, multiplies that number by 12, and then outputs the product.
2 answers:
try:
num = int(input("Enter a number: "))
print(12*num)
except ValueError:
print("Please enter a number!")
I wrote my code in python 3.8
Answer:
num = int(input("Enter a number: "))
print(12*num)
print("Please enter a number!")
Explanation:
You might be interested in
Answer: Agent P or simply Perry
Explanation:
Answer:
a, c, d
Explanation:
Answer:
yes there is an answer to this question
Answer: A.)true
Explanation: This is true for a number of reasons, the first being that synced files
Answer:
All except saving time writing a computer program.