54th day of python challenges 78-79
This commit is contained in:
8
challenges69-79/challenge-078.py
Normal file
8
challenges69-79/challenge-078.py
Normal file
@@ -0,0 +1,8 @@
|
||||
tv_program = ['GOT', 'Prison Break', 'Supernatural', 'Chernobyl ']
|
||||
for i in tv_program:
|
||||
print(i)
|
||||
ask_name = str(input('Enter a name of show you want to add to list : '))
|
||||
ask_position = int(input('Enter position of entered show in list : '))
|
||||
tv_program.insert(ask_position, ask_name)
|
||||
for i in tv_program:
|
||||
print(i)
|
Reference in New Issue
Block a user