User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python [2022/09/25 11:37] utedasspython [2022/12/05 16:26] (current) utedass
Line 30: Line 30:
 populated_tuple = (1, 2, "Kalle", 4.32) populated_tuple = (1, 2, "Kalle", 4.32)
 singleton_tuple = (3,) singleton_tuple = (3,)
 +print(populated_tuple[2]) # Prints Kalle
  
 # Ranges are also immutable # Ranges are also immutable
Line 103: Line 104:
  
  
-====== Parser ======+====== Argument parser ======
  
 <code python> <code python>
python.1664105865.txt.gz · Last modified: 2022/09/25 11:37 by utedass

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki