Here's what I learned today:
- Variables and f-strings for clean formatting
- Basic math functions like
pow()
,round()
,floor()
, andceil()
- String methods like
.upper()
,.lower()
,.title()
,.replace()
,.index()
- Lists and how to modify, copy, and insert elements
- Tuples and how they are different from lists
- Custom functions with parameters and user input
- Also made a very basic calculator!
Next I'll learn about
if
,elif
,else
statements and loops!
Question:
How do I remember all this for long term? There are too many string functions like .upper(), .lower(), .title(), .removesuffix(), .removeprefix(), .rstrip(), .lstrip(), .strip(), etc.
If you're also learning, feel free to connect! ^^
If
If you're also learning, feel free to connect! ^^