Le liste
an anonymous user
·
Python
class print import numpy mylist = ['ciao', 100, 32] mylist[0:2] #slicing print(mylist) mylist[0] print() mylist.reverse() print(mylist) mylist.pop() print(mylist) mylist + ['ciaoooo'] print(mylist) mylist[2] = 77 printl(mylist) mylist * 3 print (mylist) mylist.append(5) print (mylist)
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.