{"_id":"G0001-1","level":"G","difficulty":0,"story":1,"order":1,"exerciseType":"lesson","language":"python","chapter":"Intro to Python","lesson":"print()","sublesson":"Introduction to print()","instructions":[{"line":1,"content":[{"type":"instructions","payload":["The first instruction we are going to learn in Python is how to display text or numbers on the screen using the print() function. We will learn more about functions in the next section."],"payloadType":"markdown"}]},{"line":2,"content":[{"type":"instructions","payload":["Any sentence we type within the parentheses of print() will be displayed on the screen. This is also referred to as printing to the screen. Sentences are anything enclosed between quotation marks, \" \"."],"payloadType":"markdown"}]},{"line":3,"content":[{"type":"instructions","payload":["Here are some examples."],"payloadType":"markdown"}]},{"line":4,"content":[{"type":"codeAreaTitle","payload":{"code":"print(\"Any job in the future will have a computer involved in the work\")","mode":"python"},"payloadType":"markdown"}]},{"line":5,"content":[{"type":"codeAreaTitle","payload":{"code":"print(\"23\")","mode":"python"},"payloadType":"markdown"}]},{"line":6,"content":[{"type":"codeAreaTitle","payload":{"code":"print(\"\")","mode":"python"},"payloadType":"markdown"}]},{"line":7,"content":[{"type":"instructions","payload":["**Note:**"],"payloadType":"markdown"},{"type":"listExplanation","payload":["Text must be enclosed in quotation marks (\") to be printed."],"payloadType":"markdown"},{"type":"listExplanation","payload":["We use print() to display or print something on the screen. This shouldn’t be confused with printing a document from your computer onto paper."],"payloadType":"markdown"},{"type":"listExplanation","payload":["Additionally, Python is case-sensitive. It’s very important to remember this."],"payloadType":"markdown"}]},{"line":8,"content":[{"type":"instructions","payload":["Example - Print is not the same as print in Python. Always write print with all letters in lowercase to display a sentence."],"payloadType":"markdown"}]},{"line":9,"content":[{"type":"instructions","payload":["**1. Correct Usage**"],"payloadType":"markdown"},{"type":"codeArea","payload":{"code":"print(\"I am excited to learn Python\")","mode":"python"},"payloadType":"markdown"}]},{"line":10,"content":[{"type":"instructions","payload":["**2. Incorrect Usage**"],"payloadType":"markdown"},{"type":"codeArea","payload":{"code":"Print(\"I am excited to learn Python\")","mode":"python"},"payloadType":"markdown"}]},{"line":11,"content":[{"type":"instructions","payload":["Now we will practice some exercises on print()"],"payloadType":"markdown"}]}],"createdAt":"2026-01-09T04:02:01.614Z","updatedAt":"2026-01-09T04:02:01.614Z","__v":0}