+ 1

How to create a string

"guru sai"

6th Nov 2018, 3:49 PM
guru sai
guru sai - avatar
4 Answers
+ 3
nice question :D s = “guru sai” learn the python course.
6th Nov 2018, 3:50 PM
Sokrat_Poghosyan
Sokrat_Poghosyan - avatar
+ 2
everything which is under ' ' or " " is string in python. e.g 'hi' or "hi"
6th Nov 2018, 4:32 PM
Maninder $ingh
Maninder $ingh - avatar
+ 1
A mechanical definition is: (variable_name) = "(content of string)" Example: string = "content"
6th Nov 2018, 7:32 PM
đŸˆ‚ïžToma
đŸˆ‚ïžToma - avatar
0
You question is unclear because you showed as declare a string then i didnt understood if your is a question or an hint... Anyway, because you are at begin of SL, read here https://code.sololearn.com/WvG0MJq2dQ6y/?ref=app
6th Nov 2018, 4:11 PM
KrOW
KrOW - avatar