What is the error ?#4(py3) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the error ?#4(py3)

Pls input $ G T compalsury https://code.sololearn.com/ceQ6j4N5t6T6/?ref=app

15th Aug 2020, 1:10 PM
Shubham Ingale
Shubham Ingale - avatar
5 Answers
+ 5
AnDyOs[SHUBHAM INGALE] , can you plesse tell us what you try to achieve with: posg = (i, end = ''), poss = (i, end = '') and post = (i, end = '') ? the expression you used creates an error. What do you want to get by using end = '' ? Thanks for your help! 👍
15th Aug 2020, 2:27 PM
Lothar
Lothar - avatar
+ 2
What you are trying..? You can ask it in previous question... if(text[i]=="g"): posg = (i, end = '') What is again end=" you mean..? You want use in print? Then write there itself.. Like if(text[i]=='G'): posg = i print(posg, end="") Same for other, hoping you can try...
15th Aug 2020, 1:34 PM
Jayakrishna 🇮🇳
+ 2
Jayakrishna🇮🇳 sorry and thx
15th Aug 2020, 1:54 PM
Shubham Ingale
Shubham Ingale - avatar
+ 2
Lothar I have to do the security code coach t@sk
16th Aug 2020, 12:57 AM
Shubham Ingale
Shubham Ingale - avatar
+ 1
AnDyOs[SHUBHAM INGALE] no problem... If you dont anything in reply or If you any problem still, about this problem, don't hesitate to ask.. You're welcome...
15th Aug 2020, 1:57 PM
Jayakrishna 🇮🇳