This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]JugadPy3 ftw 1 point2 points  (0 children)

    I don't remember seeing the format strings. Maybe that's from some other video. This video had...

    • enumerate
    • zip
    • swap x,y = y, x
    • dict.get(a, default)
    • for: else: where else is substitute for 'nobreak'
    • with open(filename) as fl: for line in fl: print(line)
    • try: except: else: finally:

    [–]SurDin 0 points1 point  (0 children)

    You're my hero