How to take user input in a list in Python

preview_player
Показать описание
Lists
Рекомендации по теме
Комментарии
Автор

This is the best brief tutorial ; yet very effective in creating lists from user input . Please create a Python tutorial playlist to rescue beginner programmers like us. Thank u

mohamedkanu
Автор

make sure you INDENT your append function😭. if you don’t it’ll only add the last item to your list.

edwinmaldonado
Автор

Can I do this by:
a=input("enter data by using comma:. ").split(", ")
print(a)

Code is running successfully. But please Check it if this is right please tell.

PankajMandal-mdhk