0
Problem in code coach
https://sololearn.com/coach/74/?ref=app I ran the same code in my laptop compiler it works right. But it shows false results in code coach. I tried this code with python. Mods plz check a=input() b="abcdefghijklmnopqrstuvwxyz" c=b.upper() t=0 for i in a: t=+1 if i == "=": break elif i in c: t-=1 break print(a[t::])
4 ответов
+ 7
Don't post a question twice
+ 3
chess doctor
As shared link and code your output is different than the actual outputs.
+ 3
If you want to increment the variable the syntax is like t+=1 which is equal to
t = t +1
0
Thanks edgar, I missed that one, problem solved👍