repl.it
@SakuraKimiko/

while loops

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
L=[]

while len(L)<=3:
  new_name=input("enter a new name:")
  L.append(new_name)

print ("Sorry the list is full")
print (L)