python2.1 if-else conditional statement:

Case #: deposits of more than 100 million to buy a BMW; less than 200,000 bicycles!


= 10 cunkuan
#if judgment condition, else: if not satisfied with the implementation of other commands
if cunkuan> 100:
Print ( "you can buy a BMW, so happy!")
the else:
Print ( "bike or buy it!")

Guess you like

Origin www.cnblogs.com/lma0702/p/11106372.html