Skip to content

myneighborh/cs50p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS50P

This repository includes my solutions to Harvard's CS50P (Introduction to Programming with Python).
Each directory corresponds to a weekly problem set following the course structure.

Problem Sets

  • pset0 – Functions, Variables
    Functions. Arguments. Side Effects. Bugs. Return Values. Variables. Comments. Pseudocode. str. Parameters. int. Operators. Interactive Mode. float. def. Scope. return.

  • pset1 – Conditionals
    if. elif. else. or. and. bool. match.

  • pset2 – Loops
    while. for. list. range. continue. break. list. len. dict. None.

  • pset3 – Exceptions
    SyntaxError. ValueError. try. except. NameError. else. pass. raise.

  • pset4 – Libraries
    Modules. random. import. from. statistics. Command-Line Arguments. sys. sys.argv. IndexError. sys.exit. Slices. Packages. PyPI. pip. cowsay. APIs. requests. JSON. __name__.

  • pset5 – Unit Tests
    assert. AssertionError. pytest. Packages. __init__.py.

  • pset6 – File I/O
    list. open. with. sorted. CSV. dict. csv. PIL.

  • pset7 – Regular Expressions
    Regular Expressions. Regexes. re. re.search. re.match. re.fullmatch. re.sub. re.split. re.findall.

  • pset8 – Object-Oriented Programming
    tuple. Classes. class. Objects. Attributes. Instance Variables. Methods. Instance Methods. __init__. raise. __str__. Properties. @property. Decorators. int. str. str.lower. str.strip. list. list.append. dict. Class Methods. @classmethod. Static Methods. @staticmethod. Inheritance. BaseException. Operator Overloading. object.__add__.

  • pset9 – Et Cetera
    docs.python.org. set. global. Constants. Type Hints. mypy. Docstrings. peps.python.org. argparse. Unpacking. *args. **kwargs. print. map. List Comprehensions. filter. Dictionary Comprehensions. enumerate. Generators. yield. Iterators. Final Project.

Certificate

CS50P

About

Study notes and problem set solutions from Harvard’s CS50P course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages