# A while loop is a programming structure that allows us to execute a block of code repeatedly as long as a condition is true.
# This can be particularly useful for counting or accumulating values.
# In this example, we will use a while loop to display letters from 'A' to 'E' and calculate their corresponding ASCII values.
# Pseudocode:
# count ← 1
# WHILE count IS LESS THAN OR EQUAL TO 3:
# DISPLAY "This is message number" count
# count ← count + 1
# END WHILE
# Python Code:
count = 1 # Start counting from 1
while count <= 3: # Continue while count is 3 or less
print("This is message number", count) # Display the current message number
count += 1 # Increment count by 1
#Problem: Infinite Loop with a While Statement
#Write a while loop that continuously prints "Hello, World!" until you stop the program.
This is message number 1
This is message number 2
This is message number 3