subject

#Intoduction
print """In today's world staying fit and healthy is very difficult.
Few people are unaware of their health leading to many problems.
So here is a program to check your health status!"""
#Take the age, gender, height and weight
age = int(input("Enter your age: "))
gender = (input("Enter gender(for male type M and for female type F): ")
h = input("Tell how tall you are: ")
weight = int(input("Enter your weight: "))
#Function created to calculate number of cups of water
def CupsOfWater():
a = weight/2.2
if age<=30:
b = a*40
c = b/28.3
d = c/8
d= round(d,1)
elif age>30 and age<=55:
b = a*35
c = b/28.3
d = c/8
d= round(d,1)
else age>55:
b = a*30
c = b/28.3
d = c/8
d= round(d,1)
print d

I don't know why its giving an error for the line "h = input("Tell how tall you are: ")"
Pls explaind

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:00
Check my work the microprocessor is a(n) circuit, which is designed to process data based on a set of instructions. most desktop and laptop devices contain a microprocessor based on the standard. most tablets and smartphones contain processors based on technology. a microprocessor's circuitry is designed to perform a limited number of tasks contained in its set. during processing, an instruction is loaded into the processor's unit. data is loaded into registers in the processor's where arithmetic and logic operations are performed. microprocessor performance can be measured by its speed. other factors affecting overall processing performance include word size, cache size, and instruction set complexity. most digital devices contain only one microprocessor chip, but today's multi- processors contain circuitry that supports parallel processing. computers contain various kinds of memory. random memory is a special holding area for data, program instructions, and the system. it stores data on a temporary basis until the processor makes a data request. ram is different from disk storage because it is , which means that it can hold data only when the computer power is turned on. computers also contain read- memory, which is a type of non-volatile memory that provides a set of "hard-wired" instructions, called the loader, that a computer uses to boot up.
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
You know the right answer?
#Intoduction
print """In today's world staying fit and healthy is very difficult.
Few pe...
Questions
question
Social Studies, 19.09.2019 08:30
question
Mathematics, 19.09.2019 08:30
Questions on the website: 13722362