"""
while loop

dead loop
"""

"""
syntax of while loop:

while test_expression:
    body of while (code block)
"""

# if I want to print out a greetings words to my friends,
# I can use a loop structure.

# 5 times

count = 0
while count <5:
    print("Hello, Python!")
    count = count + 1


print()

count = 5
while count > 0:
    print("Hello, Python!")
    count -= 1


# qi jun
num = 5

while num > 0:
    print("HI!")
    num -= 1
