This is regarding stack in Python | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

This is regarding stack in Python

Why does the engine indicate error when apparently there isn't any ? https://www.sololearn.com/post/1711362/?ref=app

3rd Oct 2022, 12:53 PM
Sanjay Kamath
Sanjay Kamath - avatar
2 Antworten
+ 2
maybe there's a trailing blank space?
3rd Oct 2022, 1:23 PM
Bob_Li
Bob_Li - avatar
+ 1
maybe there's a trailing blank space? Yes Bob hoorah it worked !! Use the strip function to remove leading and trailing spaces.
3rd Oct 2022, 3:14 PM
Sanjay Kamath
Sanjay Kamath - avatar