Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Phyton Learning : List
~ > python
>>> name = [ "one", "two", "three", "four"]
>>> print (name)
[ "one", "two", "three", "four"]
>>> name [0:3]
[ "one", "two", "three"]
name = object name (you can change with your title)
[ "one", "two", bla...] = value
object [s:e] = for print spesific value (s = start, e = end)
example :
name [0:3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.