Do not enter non-public sh_05_

 

Do not enter non-public sh_05_

1  # Exercise 3: Define a Boolean variable is_employee, write code to determine whether the employees of the Company 
2 is_employee = False
 3  
4  # if not prompted not allowed into the 
5  # in development, usually want a condition is not met, the execution of some codes, can be used Not 
. 6  # Further, if the conditions require complex logic calculation stitching, also possible to use the Not 
. 7  IF  Not is_employee:
 . 8      Print ( " non-company personnel, into the Do " )

 

Guess you like

Origin www.cnblogs.com/shaohan/p/11468235.html