# data[].attributes.body
limit = int(input("what is your limit"))
n = 0
while n <= limit:
n += 5
print("\nthe last number by 5 before your limit is ",n-5)

# data[].attributes.headline
limit = float(input("Please keep the integer a number which 5 can get to: "))counter = 0while counter <= limit:  print("The count is at:", counter)  counter += 5

# data[].attributes.subject
limit = float(input("Please keep the integer a number which 5 can get to: "))counter = 0while counter <= limit:  print("The count is at:", counter)  counter += 5

# data[].attributes.body
num = 0

while num <= 20:

print("\nYou're number is", num)

if (num % 3) == 0 and (num % 5) == 0 and num != 0:

print("FizzBuzz")

elif (num % 3) == 0 and num != 0:

print("Fizz")

elif (num % 5) == 0 and num != 0:

print("Buzz")

else:

print()

num += 1

#extension

import random

count = 0

num1 = random.randint(0,1000)

print("Your limit is", num1)

while count <= num1:

print("\nYou're number is", count)

if (count % 3) == 0 and (count % 5) == 0 and count != 0:

print("FizzBuzz")

elif (count % 3) == 0 and count != 0:

print("Fizz")

elif (count % 5) == 0 and count != 0:

print("Buzz")

else:

print()

count += 1

# data[].attributes.body
count=0
while count<20:
count=count+1
if count %3==0 and count %5==0:
print("fizzbuzz")
elif count %5==0:
print("buzz")
elif count % 3==0:
print("fizz")
else:
print(count)

# data[].attributes.body
limit = int(input("What number would you like to stop at?: "))

counter =  0

print("Your starting value is:",counter)

print("Your limiting value is:",limit)

while counter + 5 < limit:

counter += 5

print("You're currently at:", counter)

print()

print("Your final outcome is:",counter)

# data[].attributes.body
counter = 0

limit = int(input("Enter your limiting value: "))

print("Starting value:" , counter , "\nEnding value:" , limit)

while (counter + 5) < limit:

counter += 5

print(counter)

# data[].attributes.body
limit = int(input("Enter limit as a multiple of 5: "))

num = 0

while num != limit:

num += 5

print(num)

# data[].attributes.body
amount = 0.01

total = 0

day = 1

print("Lets count how much you will owe your Computer Programming teacher.")

print("\nPress enter to start the count.\n")

while day < 31:

day += 1

amount *= 2

total += amount

total = round(total,2)

if day == 15:

print("On day 15, you will have paid $"+str(total))

print("On day 30, you will have paid $"+str(total))

# data[].attributes.body
counter = 0
limit = int(input('What should be the limit? Give a number. '))
while counter <= limit:
print(counter)
counter += 5
else:
print('The number has reached the limit.')

# data[].attributes.body
num = 0

terminal = input("Selected a terminal value that is divisible by 5 ")

terminalx = int(terminal)

if terminalx % 5 == 0:

while num != terminalx:

print(num)

num += 5

elif terminalx % 5 != 0:

print("Please enter a number that is divisible by 5")

# data[].attributes.headline
Alex Esser       counter = 0        limit = int(input("What do you want the limit in the 5's range to be? "))         print("\nThe counter is at",counter,"\n") print("The limit is at",limit,"\n") input("Press enter to count.\n")         while counter < limit:   	  print(counter)	 counter += 5        

# data[].attributes.subject
Alex Esser       counter = 0        limit = int(input("What do you want the limit in the 5's range to be? "))         print("\nThe counter is at",counter,"\n") print("The limit is at",limit,"\n") input("Press enter to count.\n")         while counter < limit:   	  print(counter)	 counter += 5        

# data[].attributes.body
counter = 0

print("This is a program to help you count by 5's.")

limit = int(input("What would you like the limit to be? (limit has to be in 5's) "))

if limit%5 != 0:

print("The limit is not divisible by 5.")

else:

while counter != limit:

print(counter)

counter +=5

print(limit)

# data[].attributes.body
num = 0

end = int(input("How long is this list of numbers? "))

while num < end:

num += 1

if num % 3 == 0 and num % 5 == 0:

print("FizzBuzz")

elif num % 3 == 0:

print("Fizz")

elif num % 5 == 0:

print("Buzz")

else:

print(num)

# data[].attributes.body
count = 0

limit = int(input("What multiple of 5 should be the upper limit? "))

print("\nLets count to", limit,  "by 5's!")

input("\nPress enter to start the counter!\n")

while count <= limit :

print("the count is at", count)

count += 5

input("\nPress enter to continue.\n")

# data[].attributes.body
counter = 0
limit = (input("Lets count by 5s. What do you want to count to? "))
limit = int(limit)
input("\nPress enter to start the counter\n")
while counter <= limit :
print("The count is up to:", counter)
counter += 5

# data[].attributes.body
limit = int(input("What number do you want to stop counting at?:"))
counter = 0
while counter != limit:
    counter += 5
    print(counter)

# data[].attributes.body
limit = int(input("What number do you want to stop counting at?:"))

counter = 0

while counter != limit:

counter += 5

print(counter)

# data[].attributes.body
print ("Welcom to the loop of 5's!")

end =int( input( "Enter the limit, a multiple of 5 between 0-50: "))

count = 0

while count <= end:

print ("The count is at " , count)

count += 5

# data[].attributes.body
print ("Welcom to the loop of 5's!")
end =int( input( "Enter the limit, a multiple of 5 between 0-50: "))
count = 0 

while count <= end:
	print ("The count is at " , count)
	count += 5

# data[].attributes.body
counter=0

limit=int(input(“what would you like to choose for the numbers limit?”))

print(“lets count to the limit by 5’s”)

input(“press enter to start the count”)

while counter<=limit:

print(“the count is at:”,counter)

counter+=5

input(“press enter to exit”)

# data[].attributes.body
import random
uh = 0
count = 0

input("press enter to shake the magic 8 ball")
while uh < 10:
    ball = random.randrange(1,7)
    if ball == 1:
        print("\nno way lol")
    elif ball == 2:
        print("\nit is decidedly so")
    elif ball == 3: 
        print("\ntry again later")
    elif ball == 4: 
        print("\nwithout a doubt")
    elif ball == 5:
        print("\nis this a joke")
    elif ball == 6: 
        print("\nprobably not")
    count += 1 
    print("you have asked", count, "questions")
    if count > 20:
        print("what are you doing with your life")
    input("press enter to try again")

# data[].attributes.body
counter = 0
limit = int(input("what number do you want to count to? ")

print("Let's count to", limit, "by 5's! ")

input("\nPress enter to start counting. \n")

while counter <= limit:

print("The counter is at:",counter)

counter += 5

# data[].attributes.body
end = int(input("What do you want to count to? "))

num = 0

print("Let's count to", end, "by 5's")

input("\n Press enter to start counting. \n")

while num <= end:

print("The count is at: ",num)

num += 5

# data[].attributes.body
counter = 0
limit = (input("Lets count by 5s. What should we count to? "))
limit = int(limit)
input("\nPress enter to start the counter\n")
while counter < limit :
print("The count is at:", counter)
counter += 5

# data[].attributes.body
import random

# indentify variables

counter = 0

shake = 0

# output

while counter <= shake:

fortune = random.randint(1, 3)

if fortune == 1:

print("A dubious friend may be an enemy in camouflage.")

elif fortune == 2:

print("A faithful friend is a strong defense.")

else:

print("Nothing is impossible to a strong heart.")

repeat = str(input("Would you like to shake again? (y or n) "))

if repeat == "y":

shake += 1

counter += 1

else:

input("\nPress enter to exit.\n")

break

# data[].attributes.body
import random
shake = 0
While True:
input("Enter if you want to shake the magic 8 ball:")
shake = random.randint(1, 3)
print(shake)
if shake == "1":
print("Biden wins the election.")
elif shake == "2":
print("Trump wins the election.")
else:
print("Nancy Pelosi wins the election.")

# data[].attributes.body
print("I will pay you 1 cent today. Tomorrow I will give you double that amount. The day after I will give you double that amount, and so on. Once I pay you for 30 days, I will receive an A in Computer Programming class.")
amount = 1
day = 0
total = 0
while day < 31:
total = amount + total
amount *= 2
day += 1
dollars = total / 100
if day == 15:
print("I have paid ${:.2f} by day 15.".format(dollars))

print("I have paid ${:.2f} by day 30.".format(dollars))

# data[].attributes.body
def fizzOrBuzz(upperBound):

n=1

while n <= upperBound:

if n % 3 == 0 and n % 5 == 0:

print("FizzBuzz")

elif n % 5 == 0:

print("Buzz")

elif n % 3 == 0:

print("Fizz")

else:

print(n)

n += 1

num = float(input("What upper bound number? "))

fizzOrBuzz(num)

# data[].attributes.body
counter=0

limit=int(input("What is the limit? "))
print("Let's count to " + str(limit))
input("\nPress enter to start counter.\n")

while counter<limit:

print("The count is at:", counter)

counter+=5

input("\nPress enter to continue\n")

# data[].attributes.body
value = 0
limit = int(input("What do you want to count to? "))

print("Let's count to", limit, "by 5's!")
input("\nPress enter to start counting. \n")

while count <= limit:
print("The count is at:",count)
Start += 5

# data[].attributes.body
amount = 0.01

day = 1

ttl = 0.01

while (day < 30):

day += 1

amount *= 2

ttl += amount

if (day == 15):

print("on day 15
you've given away:
$" + str(ttl))

print("on day 30 you've given away: $" + str(ttl))

# data[].attributes.body
Value = 0
limit = int(input("What do you want to count to? "))

print("Let's count to", limit, "by 5's!")
input("\nPress enter to start counting. \n")

while count <= limit:
print("The count is at:",count)
Value += 5

# data[].attributes.body
value = 0
limit = int(input("What do you want to count to? "))

print("Let's count to", limit, "by 5's!")

input("\nPress enter to start counting. \n")

while count <= limit:

print("The count is at:",count)

count += 5

# data[].attributes.body
value = 0
limit = int(input("What do you want the limit to be? "))

print("\nThis program will count to" , limit , "by 5s.")
input("Press enter to start the count.")
print()

while value < limit:
	print(value, end=" ")
	value += 5

input("\n\nPress enter to exit.")

# data[].attributes.body
amount = 0.01

day = 1

total = 0.01
while day < 30:

amount *= 2

total += amount
day += 1

if day == 15:

print(“You have paid $” + str(total) , “after 15 days.”)

if day == 30:

print (“You have paid $” + str(total) , “after 30 days.”)

# data[].attributes.body
import random

print("This is the magic 8 ball!")

print("Give it a shake!")

print()

print("The magic 8 ball says...")

i = 0

while i == 0:

num = random.randint(1,5)

if num == 1:

print("Its your lucky day!\n")

elif num == 2:

print("Sorry, today will be a bad day :( \n")

elif num == 3:

print("Something big will happen today!\n")

elif num == 4:

print("Someone unexpected will reach out to you!\n")

elif num == 5:

print("You will laugh a lot today! XD\n")

again = input("Do you want to try again? ")

if again == "yes":

print("\nThe magic 8 ball says...")

elif again == "no":

i = 1

print("Have a good day!")

# data[].attributes.body
import random

randomNumsMax = random.randint(1,1000)
randomNumsMin = random.randint(1,randomNumsMax)
x = randomNumsMin
for y in range(randomNumsMax-randomNumsMin+1):

if x%3 == 0 and x%5 == 0:
print("Fizzbuzz")
elif x%3 == 0:
print("Fizz")
elif x%5 == 0:
print("Buzz")
else:
print(x)
x+=1

# print("The biggest number was: " + str(randomNumsMax))
# print("The smallest number was: " + str(randomNumsMin))

#Here is the link: #https://repl.it/@Pythondude483/LoopChallenges#FizzBuzz.py

# data[].attributes.body
count = 0

limit = int(input("What do you want to count to? "))

print("Let's count to", limit, "by 5's!")

input("\nPress enter to start counting. \n")

while count <= limit:

print("The count is at:",count)

count += 5