Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. """"
  2.  
  3. now = datetime.datetime.now()
  4. today = now % """
  5.  
  6.  
  7.  
  8. """import datetime
  9. now = datetime.datetime.now()
  10. today = now.strftime("%A")
  11.  
  12. days_open = ["monday","tuesday","wednesday","thursday","friday"]
  13.  
  14. if today in days_open:
  15. print("Come on in!")"""
  16.  
  17. my_list = ["Hello","how","are","you"]
  18. for word in my_list:
  19. print(word)
  20. for letter in 'abcdefghijklmnopqrstuvwxyz':
  21. print(letter.upper())
  22. if letter == "" :
  23. break
  24.  
  25.  
  26. print("")
  27.  
  28.  
  29.  
  30.  
  31. for num in [1,2,3,4]:
  32. if num % 2 == 0:
  33. print(num)
  34. print("")
  35.  
  36. start = [1,2,3,4,5,7,8,9,10]
  37. for numa in start:
  38. if numa % 2 :
  39. continue
  40. print(numa)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement