Computer Science, asked by arnavvatsstilish, 2 days ago

write a python programe to accept hours from the user and display equivalent minutes​

Answers

Answered by akcaptain455
4

hours = int(input("Enter the number in hours : "))

minutes = hours * 60

print(f"{hours} hours in minutes is {minutes}")

please mark as brillant

Answered by SparklingThunder
1

 \huge  \purple{ \underline{ \boxed{ \red{ \mathbb{ANSWER : }}}}}

 \red{ \textsf{n=int(input("Enter number of hours : "))}}

 \red{ \textsf{a=n*60}}

 \red{ \textsf{print(n,"hours =",a,"minutes")}}

 \large \green{ \underline{ \underline{ \mathbb{KNOW  \: MORE :}}}}

 \large\orange{ \textsf{print}}

print is the keyword in python programming language . It print anything which is written within it .

 \large\orange{ \textsf{input}}

input takes the input from the user in the form of string .

 \large\orange{ \textsf{int}}

int converts the input into integer form .

Similar questions