Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monthsOfTheYear = ["January","Febuary","March","April","May","June","July","August","September","October","November","December"]
- SIZE = len(monthsOfTheYear)
- count = 0
- # Printing out the days of the week using a WHILE loop
- # Start of WHILE loop
- while count<SIZE:
- # Output Array Item
- print("Month " + str(count+1) + " is " + monthsOfTheYear(count)
- # Increment loop control variable
- count = count+1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement