194k views
24 votes
Write a program that accepts a whole number as

input, multiplies that number by 12, and then
outputs the product.

User Euvs
by
3.8k points

1 Answer

8 votes

This is for Python

number = int(input('Number: '))

number = number * 12

print(number)

User Aaron Wurthmann
by
3.5k points