#while loop
#we can execute set of statements as long as condition is true

# i = 1
# while i < 6:
#     print(i)
#     if i == 3:
#         break
#     i = i+1
#
# #
# List_2 = [25,30,56,78,86,45]
# for n in range(1:100)
# for x in List_2:
#     for y in n:


#     i = n * 2
# while i < 100:
#     print(i)

# Python program to count Even
# and Odd numbers in a List

# # list of numbers
# list1 = [25,30,56,78,86,45]
#
# even_count, odd_count = 0, 0
#
# # iterating each number in list
# for num in list1:
#
#     # checking condition
#     if num % 2 == 0:
#         even_count += 1
#
#     else:
#         odd_count += 1
#
# print("Even numbers in the list: ", even_count)
# print("Odd numbers in the list: ", odd_count)

# for fizzbuzz in range(1, 51):
#     if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0:
#         print("fizzbuzz")
#     elif fizzbuzz % 3 == 0:
#         print("fizz")
#     elif fizzbuzz % 5 == 0:
#         print("buzz")
#     else:
#         print(fizzbuzz)

# def fizzbuzz(num):
#  num = num + 1
#  for i in range(1,num):
#               if i % 3 == 0 and i % 5 == 0:
#                   print("fizzbuzz")
#               elif i % 3 == 0:
#                   print("fizz")
#               elif i % 5 == 0:
#                   print("buzz")
#               else:
#                   print(i)
# fizzbuzz(30)

# for fizzbuzz in range(1, 51):
# if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0:
#         print("fizzbuzz")
#     elif fizzbuzz % 3 == 0:
#         print("fizz")
#     elif fizzbuzz % 5 == 0:
#         print("buzz")
#     else:
#         print(fizzbuzz)

#1 fizzbuzz using if and for
#2 making the use of functions and passing the value by yourself like you just did (num +1)
#3 user has to input the values
#4 user gives number and you have to return whether it is fiz buzz or fizzbuzz, either by using functions or if
