Problem related to coding playground | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Problem related to coding playground

Why I cannot write strings in the coding playground option

2nd Jun 2020, 11:53 AM
CODE007
CODE007 - avatar
1 Réponse
+ 1
To take string input just write: input("You can display text here") To store the input create a variable and write: string = input("Enter text") If you don't want to or need to then you can leave the brackets blank and it'll still do the same job.
2nd Jun 2020, 12:47 PM
Olivia
Olivia - avatar