Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.15 KB

File metadata and controls

40 lines (28 loc) · 1.15 KB

🐍 Introduction to Python! 🐍

Links

Slides

Feedback: Intro to Python

Feedback: Continuers to Python

Content Summary

  1. Setting up
  2. Printing
  3. Variables
  4. Input
  5. If-Else
  6. Loops
  7. Ghost Market

Setting up

Before we start working, we first need to set up the Python extension on VSCode, so that we can make life easier :)

We first click the little tile button on the left sidebar setup1

Then search up 'python' and install the first option setup2

Yayy we're all ready to roll now!

Running the Program

You can either click the Run button on the top right corner of VSCode like this:

setup3

orr you could use the terminal by first cd-ing (changing our directory -- ie the folder we are working in) and running our file manually

$ cd directory-name
$ python3 file_name.py