Pythonの使用について--男女ペアのテストを書く


要件:
#      *************************************************************************************
#           ,             
# 1.      、  、  、  
# 2.      、  、  、  
# 3.           
#      :    :
		#     20    28
		#     160   175
		#     40    60
		#     2000   5000
# 4.            
# 5.            
# 6.             ,     !

********************************************************************************************************************
man_age = int(input('    :'))
man_height = int(input('    :'))
man_weight = int(input('    (  ):'))
man_income = int(input('    :'))

woman_age = int(input('    :'))
woman_height = int(input('    :'))
woman_weight = int(input('    (  ):'))
woman_income = int(input('    :'))

if(20<=woman_age<=30) and (160<=woman_height<=170) and (50<=woman_weight<=65)and(2000<=woman_income<=3000):
    #             ,             
    if(20<=man_age<=25) and (170<=man_height<=180) and (70<=man_weight<=80) and(man_income>=10000):
        #            
        print('      ')
    else:
         print('          ')
else:
    print('          ') 

実行結果:
    :26
    :185
    (  ):75
    :20000
    :22
    :165
    (  ):60
    :2000