How To Use String. ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How To Use String. ?

3rd Jul 2017, 9:49 AM
Ć‡Å„P
Ć‡Å„P - avatar
6 Respostas
+ 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