109,662 views
35 votes
35 votes
Write a program to find 40%, 50%
and 60% of the input number.

User Zjames
by
3.0k points

1 Answer

13 votes
13 votes

inp = int(input("Enter a number: "))

print("%40 of this number is",(2*inp)/5,"\\%50 of this number is",inp/2,"\\%60 of this number is",(3*inp)/5)

Write a program to find 40%, 50% and 60% of the input number.-example-1
User Keemor
by
3.1k points