MUstar

IoT Python3 0814 - if~else

Aug 15th, 2017
73
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = 3
  2. if a < 2:
  3.     print("A")
  4.  
  5.    
  6. if a == 3:
  7.     print("B")
  8.  
  9. if a >= 4:
  10.     print("C")
  11.    
  12. else:
  13.     print("D")
  14.    
  15. print(a < 2)
  16. print(a == 3)
  17. print(a >= 3)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×