SHARE
TWEET

twodudes

a guest May 26th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
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