4th day of python challenges 69-77

This commit is contained in:
abd.shallal
2019-07-20 16:01:50 +03:00
parent 5e9fbc523c
commit 0734522641
11 changed files with 199 additions and 142 deletions

View File

@@ -0,0 +1,9 @@
name_list = []
for i in range(3):
name_list.append(str(input('Enter name to invite to party : ')))
print(name_list)
add_more = str(input('Enter more people to party? yes|no : ').lower())
while add_more == 'yes':
name_list.append(str(input('Enter name to invite to party : ')))
add_more = str(input('Enter more people to party? yes|no : ').lower())
print(len(name_list))