Answer to Question #295651 in Python for Shivani

Question #295651

You are given number stored in variable with the name number multiply the number stored in the variable by 50 and print the result obtained.

INPUT is the first and the only line of the input contains the number stored in the variable

Constraints 1<=N=> 20


1
Expert's answer
2022-02-09T14:53:44-0500
# Store input numbers
n = input('Enter a Number between 1 and 20: ')


n = int(n)
x = 50


# Display the result
print (n * x)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS