+ 1

How To Use String. ?

3rd Jul 2017, 9:49 AM
ÇťP
ÇťP - avatar
6 ответов
+ 8
@Sami Khan you forgot parentheses in print() Sololearn uses python 3, not 2
3rd Jul 2017, 10:32 AM
Ahri Fox
Ahri Fox - avatar
+ 7
"a string is in quotes" #but you can convert something, like a number, to a string by saying: str(4)
3rd Jul 2017, 10:00 AM
Ahri Fox
Ahri Fox - avatar
+ 2
Strings are a form of manipulatable text in Python that you can use to show output. Strings always have ""..."" or '...'. Within a ""..."", any ' will not be regarded as the end of a string and vice versa.
3rd Jul 2017, 2:32 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
Plz
3rd Jul 2017, 9:49 AM
ÇťP
ÇťP - avatar
+ 1
what purpose u want to use String.. #this is a string var1 = 'Hello World!' #This is how u print string print (var1)
3rd Jul 2017, 9:59 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
oh yes..
3rd Jul 2017, 10:34 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar