0

How to use append function

I am begginer

31st Mar 2021, 10:17 AM
Pypie
Pypie - avatar
4 Respuestas
+ 5
a = [1, 2, 3] a.append(4) print(a) # output [1, 2, 3, 4]
31st Mar 2021, 10:36 AM
Slick
Slick - avatar
31st Mar 2021, 10:37 AM
R🍁🇮🇳
R🍁🇮🇳 - avatar
+ 1
It's taught in Lesson 38.1 of the Python for beginners course (for some reason I can't link it here)
31st Mar 2021, 10:38 AM
XXX
XXX - avatar