Strings in python

when will be used python in strings

1 Like

@sketchdinee317 Hello,

We have recieved your query.
This was a really nice question which you have asked.

Give us a couple of minutes & we will reach out with the solution for your query

Zeba Kainat| TA- Edyoda

2 Likes

Strings in python are surrounded by either single quotation marks, or double quotation marks.

‘hello’ is the same as “hello”.

You can display a string literal with the print() function:

print(“Hello”)
print(‘Hello’)

2 Likes