Advertisement
naren_paste

is_VIP

May 16th, 2024
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | Source Code | 0 0
  1. is_vip = True
  2. age = 30
  3.  
  4. if is_vip:
  5.     if age >= 18:
  6.         if age < 60:
  7.             print("Welcome VIP customer")
  8.         else:
  9.             print("You are a VIP customer and you are eligible to get senior citizen discount")
  10.     else:
  11.         print("You are not a VIP customer")
  12. else:
  13.     print("You are not VIP, regular price is applicable")
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement