How to input 2 to 3 STR in one input code in python | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

How to input 2 to 3 STR in one input code in python

Jungle camping

23rd Jan 2021, 12:57 PM
āˆ†BHāˆ†Y
āˆ†BHāˆ†Y - avatar
2 Respostas
+ 6
āˆ†BHāˆ†Y I think U are solving jungle camping. Hint : If you type ("Ra!")*5 then it will be printed 5 times ("Ra!")*6 then it will be printed 6 times Now try broā˜ŗ Hope u able to solve it nowšŸ¤—
23rd Jan 2021, 1:11 PM
Mr. Rahul
Mr. Rahul - avatar
+ 3
The input in one line with spaces between words and accessing for it in a list: myStr = input().split(' ')
23rd Jan 2021, 1:15 PM
JaScript
JaScript - avatar