Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What Would You Like To Count By?
#1
Code:
import os
while True:
    x = 0
    y = 0
    z = 0
    os.system("clear")
    x = input("What Would You Like To Count By?: ")
    os.system("clear")
    y = input("Where Would You Like To Start?: ")
    os.system("clear")
    z = input("Where Would You Like To End?: ")
    os.system("clear")
    for i in range(y,z,x):
            print i
    raw_input("Press Enter To Continue")
Reply


Messages In This Thread
What Would You Like To Count By? - by nevets04 - 10-17-2009, 09:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python to parse text file and get the count of items magicjack89 0 717 06-28-2012, 10:01 AM
Last Post: magicjack89

Forum Jump:


Users browsing this thread: 1 Guest(s)