3
Is there any way to add a new value to a Python list from a user input?
Example:
Entrada = int(input("Digite um número"))
lista = [] #A partir da entrada acima eu gostaria de expandir esta lista
3
Is there any way to add a new value to a Python list from a user input?
Example:
Entrada = int(input("Digite um número"))
lista = [] #A partir da entrada acima eu gostaria de expandir esta lista
Browser other questions tagged python
You are not signed in. Login or sign up in order to post.
Related: In a list, what is the difference between append and extend?
– Jéf Bueno