# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# +
## While Loop
# -

i = 0
while i < 5:
    print(i)
    i += 1

# +
i = 5

while True:
    print(i)
    if i >= 5:
        break
        print("something")


# +
min_length = 2
name = input("Please enter your.name: ")

while not(len(name) >= min_length and name.isprintable() and name.isalpha()):
    name = input("Please enter your name: ")

print("Hello, {0}.format(name")
# -



StarcoderdataJupyterScriptsDedupFiltered