← All courses

LANG PY · 3 credits

Python for Beginners

Build Python properly from zero: values and types, strings, numbers and input, conditionals, loops, lists, dictionaries, tuples, sets, functions, and error handling, capped with three mini-projects (number guessing, word counter, gradebook) that combine everything into complete programs.

Local progress0/32 lessons · 0%

What you'll learn

  • Read and write Python that uses every core type: int, float, str, bool, list, dict, tuple, and set
  • Slice, search, and transform strings with indexing, methods, and f-strings
  • Control program flow with elif chains, logical operators, truthiness, for/range, while, break, and continue
  • Apply the four loop patterns (sum, count, find, build) to solve problems over any collection
  • Decompose problems into functions with parameters and return values, and reason about variable scope
  • Read a traceback to locate a bug, and use try/except to handle bad input gracefully
  • Avoid the classic traps: float rounding error, list aliasing, sort() returning None, and input() always returning a string

Unit 1Values, Print, and Arithmetic

Unit 2Strings, Deeply

Unit 3Numbers and Input

Unit 4Conditionals, Mastered

Unit 5Loops, Mastered

Unit 6Lists

Unit 7Dictionaries, Tuples, and Sets

Unit 8Functions

Unit 9Errors and Robustness

Unit 10Mini-Projects: Putting It All Together

Reviews

0 ratings

5
0
4
0
3
0
2
0
1
0
  • No reviews yet.

Discussion

  • No comments yet. Sign in to comment.