@farazEskandari/

While Loop

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
name = False

while not name:
  your_name = input("What is your name?")
  name = your_name == "faraz"

  i = 0
  while i < 20:
    print(f"i = {i}")
    i += 1