Created
April 21, 2020 18:46
-
-
Save Deep18-03/93f55b6098e4bc232af74faf18d4dbde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l1=["cod","pung","counterstrike","minecraft"] | |
import time | |
# i=1 | |
# for item in l1: | |
# if i%2 is not 0: | |
# print("jarvis select nuy this "+item) | |
localtime=time.asctime(time.localtime(time.time())) | |
#use enumerate | |
for index,items in enumerate(l1): | |
if index%2==0: | |
print("jarvis buy this "+items) | |
print(localtime) | |
time.sleep(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment