Learn to Code via Tutorials on Repl.it!

← Back to all posts
🐍Snake Tutorial🐍 PART 2:Printing and Multi-lined comments
firedragondnd (46)

Part 2 of my amazing Python Tutorial

Today we will be talking about printing and multi-lined comments. As I mentioned before. Multi-lined comments is a comment that goes through multiple lines of code.
This
Ex:

This is a multi-lined comment

Printing in the console as in console.log() in Javascript

print("") is a function that comes with your standard Python language the Quotes stand for the string inside it

Ex: print("Hello World!")

Expected Output:

Hello World!
What's that?
you got an error!

Here is a possible error you could have made

  • print(Hello World!)
    this is an error I first made when I started programming.Error?

No QUOTES

If you forgot these marks: "" than you forgot about the string

That's it for part 2 of my Python Tutorial part:2

Hope to see you in part 3: Variables

Comments
hotnewtop
EpicGamer007 (1765)

I am not trying to discourage you from making tutorials, but there already is a bunch of python tutorials on replit so I don't really see the point in making more. Additionally, what you are doing can be considered as cycle farming, rather than making a bunch of short tutorials, make one long tutorial and post that once rather than posting a bunch of times.