Python Basics (2023-12-18 - 2023-12-20)¶
Setup¶
Datatypes¶
Exercise time:
Exercise: Digit to English Word
set
? ctor? -> iterableExchange key/value of a dict (
{str:int}
->{int:str}
)
Control Flow, Sequences, Iteration¶
Exercise: Determine Maximum of Two Numbers
Here’s the condensed version of it
import sys print(max(map(int, sys.argv[1:])))
Functions¶
More About Datatypes¶
Exercise Series: CSV Files¶
A Bit Of OO¶
From Object Oriented Programming
Exercise: