Strings in Python

Strings in Python are used to display a sequence of text in the output

For Example:

print("Hello, World!")

The output of the code above would be:

Hello, World!

We can do this by using the built-in print() function in Python

Anything that goes in the parenthesis and inside the parenthesis use double quotes and then type whatever you want to display in the output

If you want a better understanding of how strings work you can click the link below to watch a video about strings in Python.

https://youtu.be/upJGyfd3hMw?si=w1WoSTgbAgzS5-x8 Next

Challenge (optional)

Make a program that uses the built in print() function to display your name in the output

r


⏳ Loading...