degree-python
This degree is a great introduction to both fundamental programming concepts and the Python programming language.
LESSON 1 Syntax
In this lesson we’ll learn about the syntax of the Python programming language! We will go over fundamental commands that store variables, print messages, and perform mathematical operations.
Exercises
-
1. Welcome
-
2. Comments
-
3. Print
-
4. Strings
-
5. Variables
-
6. Errors
-
7. Numbers
-
8. Calculations
-
10. Exponents
-
11. Modulo
-
12. Concatenation
-
13. Plus Equals
LESSON 2 Introduction to Functions
Learn how to create functions to reduce repeated code and increase usability!
Exercises
-
4. Whitespace-
-
5. Parameters
-
8. Returns
-
10. Scope
LESSON 3 Control Flow
Learn how to build control flow into your Python code by including if, else, and elif statements as well as try and except statements. Expect to learn all you need to know about boolean variables and logical operators.
Exercises
-
1. Control Flow: An Introduction
-
10. Else Statements
LESSON 4 Creating and Modifying a List in Python
Learn how to create and modify a list in Python.
Exercises
-
2. Lists II
-
4. Zip
-
5. Empty Lists
-
8. Range I
-
9. Range II
LESSON 5 Working with Lists in Python
Learn how to select subsections of a list, find specific items in a list, or order a list by its values.
Exercises
-
1. Operations on Lists
LESSON 6 Loops
In this course we’ll learn about structures that let you repeat Python code over and over. You will learn how to understand loops and write them to solve your own problems
Exercises
-
1. Introduction
-
5. Break
-
6. Continue
-
7. While Loops
-
8. Nested Loops
LESSON 7 Code Challenge: Loops
Practice your looping skills with these function building problems!
Exercises
-
1. Introduction
-
3. Greetings
-
5. Odd Indices
-
6. Exponents
-
7. Larger Sum
-
8. Over 9000
-
9. Max Num
-
10. Same Values
-
11. Reversed List
LESSON 8 Introduction to Strings
Learn about strings, their properties, and how to iterate through them to solve many different types of problems.
Exercises
-
1. Introduction
LESSON 9 String Methods
Learn many of the powerful string methods that Python comes pre-built with. These methods include .upper(), .lower(), .title(), .split(), .join(), and .format().
Exercises
-
1. Introduction
-
8. .strip()
-
9. Replace
-
10. .find()
-
11. .format()
-
12. .format() II
-
13. Review
LESSON 10 Code Challenge: String Methods
Practice your string method skills with these function building problems!
Exercises
-
1. Introduction
-
3. Count X
-
6. X Length
-
7. Check Name
-
9. Reverse
-
10. Make Spoonerism
-
11. Add Exclamation
LESSON 11 Modules: Python
Learn how modules work in the Python programming language.
Exercises
LESSON 12 Creating Dictionaries
In this lesson, you will learn how to create dictionaries, which map a set of keys to a set of values. Once you can create dictionaries, you open doors to more complicated concepts like data processing and web development.
Exercises
-
3. Invalid Keys
-
5. Add A Key
LESSON 13 Using Dictionaries
In this lesson, you will learn how to use dictionaries to accomplish certain tasks.
Exercises
-
1. Using Dictionaries
-
2. Get A Key
-
3. Get an Invalid Key
-
4. Try/Except to Get a Key
-
5. Safely Get a Key
-
6. Delete a Key
-
7. Get All Keys
-
8. Get All Values
-
9. Get All Items
LESSON 14 Code Challenge: Dictionaries
Practice your dictionary skills with these function building problems!
Exercises
-
1. Introduction
-
2. Sum Values
-
. Even Keys
-
4. Add Ten
-
5. Values That Are Keys
-
6. Largest Value
-
7. Word Length Dict
-
8. Frequency Count
-
9. Unique Values
-
10. Count First Letter