I have a loop that make a Zigzag Shape and I Want to Stop this Loop when any Key Pressed
I want to stop the zigzag loop when I press any button from the keyboard (not a specific button like "Space" etc. Because I see many Articles that Use a specific Key I don't want that I want any button from the keyboard)
while True:
print("*****")
print(" *****")
print("  *****")
print("    *****")
print("     *****")
print("   *****")
print("  *****")
print(" *****")
print(" *****")
print("*****")
