Advertisement
Guest User

twodudes

a guest
May 26th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. monthsOfTheYear = ["January","Febuary","March","April","May","June","July","August","September","October","November","December"]
  2. SIZE = len(monthsOfTheYear)
  3. count = 0
  4.  
  5. # Printing out the days of the week using a WHILE loop
  6. # Start of WHILE loop
  7. while count<SIZE:
  8.  
  9. # Output Array Item
  10. print("Month " + str(count+1) + " is " + monthsOfTheYear(count)
  11.  
  12. # Increment loop control variable
  13. count = count+1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement