SHARE
TWEET

Untitled

a guest Jul 21st, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # USING ENUMERATE FUNCTION
  2. l1 = ["Bhindi", "Aloo", "chopsticks", "chowmein"]
  3.  
  4. for index,item in enumerate(l1):
  5.      if index%2==0:
  6.          print(f"Serri please buy {item}")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top