Sample Code from CS303e Lectures - Examples May Vary Each Term

These are sample programs used and created in lecture for CS303e.

Topic 1: Python Basics

Topic 2: Variables, Input, Processing, Output, part 1

Topic 2: Variables, Input, Processing, Output, part 2

Topic 3: Conditional Execution, part 1

Topic 3: Conditional Execution, part 2

Topic 4: Repetition (loops, iteration), part 1

Topic 4: Repetition (loops, iteration), part 2

Topic 4: Repetition (loops, iteration), part 2

Topic 5: Functions, part 1, Wednesday

Topic 6: Files

Topic 7: Lists, part 1

Topic 7: Lists, part 3

Topic 8: Lists of lists, part 1

Topic 8: Lists of lists, part 2

Topic 9: Strings

Topic 10: Dictionaries and Sets, part 1

Topic 11: Object oriented programming

Topic 12: Recursion

Topic 13: Sorting and Searching