Day 1 - 100 Days of Code: Print and Replit Workspace

Day 1 - 100 Days of Code: Print and Replit Workspace

Introduction to Replit's 100 Days of Code

In this section, David Morgan introduces the course and explains how it will be structured. He also provides an overview of the Replit workspace and its key features.

Getting Started with Print Statements

  • The first lesson is about print statements and how to output messages to the screen.
  • The tutorial panel on the bottom right can be resized or closed if needed.
  • The table of contents can be used to jump around in the written instructions.
  • Marking a lesson as complete prompts you to share your progress on social media.

Understanding the Replit Workspace

  • The files pane is where all your files are stored.
  • The console displays output from your program.
  • The Run button executes your code.

Using Print Statements

  • To use print statements, type print("Hello, Replit!").
  • Multiple print statements can be used to display more text.
  • Quotes are used to indicate that we have a string of text that needs to be printed out.
  • Double quotes are used in examples for clarity at this early stage.
  • Emoji can also be added using copy-pasting or system's Emoji picker.

Conclusion

  • Pressing enter a few times separates text and makes it easier to read.

Introduction to Python

In this section, the instructor introduces Python and explains how to use the print function. They also cover common errors that beginners might encounter.

Printing in Python

  • The three quote form of printing copies text exactly as it appears.
  • Capitalization is important when coding in Python.
  • Missing brackets or quotes can cause errors when using the print function.

Common Errors

  • Undefined name error occurs when a variable or function has not been defined.
  • Invalid syntax error occurs when there is a mistake in the code structure.

Day 1 Challenge: Statement of Intent

In this section, the instructor presents a challenge for day one of learning Python. The challenge involves outputting your name, today's date, and an emoji representing how you feel about starting the 100 days of code challenge.

Challenge Instructions

  • Output your first name and today's date on the console.
  • Add a piece of text to your output using only one print statement.
  • Use an emoji to represent how you're feeling about starting the challenge.
  • Include your Replit username in your output after the at symbol (@).
  • Click "run" to see your output.

Conclusion

In this section, the instructor congratulates learners on completing day one of learning Python and previews what will be covered in day two.

Video description

In less than 20 minutes learn the 'print' statement & share your first python project with the world! Join #replit100daysofcode here https://join.replit.com/python Tutorial link: https://replit.com/@replit/day-01100-days 00:00 Welcome! 01:38 Walkthrough of IDE 02:17 Let's get coding 03:07 Our first statement 04:48 Common coding errors 06:54 Fix my code 07:09 Day 1 Challenge 08:02 Share your code

Day 1 - 100 Days of Code: Print and Replit Workspace | YouTube Video Summary | Video Highlight