CS & Programming ยท Level 2

2.1 Programming with Python

Learn one of the most in-demand programming languages the fun way.

Welcome to Python

Practice Welcome to Python

Numbers in Python

Practice Numbers in Python

Variables in Python

Practice Variables in Python

Conversion Challenge

Variable Reuse

Practice Variable Reuse

Loops

Practice Loops

Fibonacci Challenge

Conditionals

Practice Conditionals

Conditions in Loops

Practice Conditions in Loops

Collatz Challenge

Drawing in Python

Built-in Functions

The For Loop

String Functions

Substrings

The Replace Function

Custom Functions

The Range Function

Functions with Arguments


Course description

Python is one of the most widely used programming languages, and it is an excellent first language for new programmers. It can be used for everything from video games to data visualization to machine learning. Right from the start, this course will show you how to use Python to create intricate drawings, coded messages and beautiful data plots. And along the way, you'll learn core programming concepts such as variables, control flow, and simulation. This course is ideal for anyone looking to start their programming journey - no experience required!


Topics covered

  • Codebreaking
  • Conditional Statements
  • Control Flow
  • Data Visualization
  • Functions
  • Loops
  • Maze Navigation
  • Python Syntax
  • Reading Code
  • Strings
  • Variables
  • Writing Code

Prerequisites and next steps

You don't need any previous computer science or programming experience!


Prerequisites

  • Computer Science Fundamentals

Up next

CS & Programming ยท Level 2

2.2 Introduction to Algorithms

Learn how to make a computer do what you want, elegantly and efficiently.

Jump ahead