Support Forums

Full Version: What Would You Like To Count By?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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")
i must be stupid but i dont get the program Roflmao

2short Unsure
(10-20-2009, 10:17 AM)Mr.FeellingLeSS Wrote: [ -> ]i must be stupid but i dont get the program Roflmao

2short Unsure

Lol. It just counts by whatever you want. I just made it to practiceusing the for and range fuction