How to start solving this? IN PYTHON | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
4th Jun 2020, 5:58 PM
Nika
Nika - avatar
4 Answers
+ 3
You need to search your input for the position of $ then search for the position of T. Then you test for the positions in-between whether [x]==G Then print the correct output depending on if there is a G in between
4th Jun 2020, 6:08 PM
Olivia
Olivia - avatar
+ 1
Please help if you can...
4th Jun 2020, 5:59 PM
Nika
Nika - avatar
+ 1
Thank you very much Olivia!
4th Jun 2020, 6:09 PM
Nika
Nika - avatar
+ 1
Your welcome ☺️
4th Jun 2020, 6:10 PM
Olivia
Olivia - avatar