How to input 2 to 3 STR in one input code in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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