Lesson 1️⃣: Printing

Bitesize Key points from this lesson

  1. All programming languages have a command to print text to the screen.
  2. In Python, we use the print() function to display text.
  3. The print() function has parenthesis. What needs to be diplayed is placed inside the parenthesis.
  4. Text to be displayed is placed inside quotation marks. This is known as a string datatype.
  5. We can use either single quotes ' or double quotes " to create a string.
  6. If we want to display a string over multiple lines, we can use triple quotes ''' or """.

Activities

The best way to improve your programming skills is to practice.
I created a course for learning Python that you can follow alongside these lessons.
You can check these out at BitFez’s Learning to code in Python Roadmap 🛣
You should specifically follow the Step 1: Output activities:

  1. Printing Basics
  2. Comments and Multi-line printing
  3. Printin & escape codes
  4. Math
  5. Google Colab Tasks
  6. Printing Tasks (opens Google Colab)