Week 4 - Programming patterns across languages & using pass, flag, break
- Programming patterns
- Using pass in custom functions
- Using a flag & break in a for loop
Read More
Week 3 - Knowing more Python built-in functions
- range( )
- zip( )
- enumerate( )
- set( )
- dict( ) - when used with range/zip/enumerate( )
- Iterators: (have next function), iterate, index
Read More
Week 3 - Understanding Dictionaries & List comprehension
- Dictionaries in Python and how to use them.
- List comprehension
Read More
Week 2 - Escape sequences, Additional Basic Practice Problems
- Escape sequences
- Extra mini tips for the basics
- Additional Practices
Read More
Week 2 - Learning more basic Python functions, libraries, attributes
- I learnt some built-in functions which I have not used thus far. - sum, min, max, len
- How to use import to tap on certain functions within Python libraries
- Attributes of different data types. - append, extend, pop, join for lists; split for strings
Read More
Week 1 - User-defined Functions
- I learnt how to create/ define custom functions in Python, and how to retrieve the values from within the lists into the custom function using arguments in the function.
- We can set default values in custom functions, using = within the function.
Read More