+ 2
If problem
Guys. I need help. No matter what I writr in input "calling" it always runs "sustava2". I cant figure it out. I bet it will be something easy but I dont see it. Thx for help https://code.sololearn.com/crPG5hKpVyYY/?ref=app
3 Antworten
+ 3
You need to specify
if calling == "sustava" or calling == "sus" or calling == "s" or calling == "sustava2":
"sus" by itself is true.
+ 2
ooooh, thanks. Im gonna try it right now
+ 1
Personally, I would take the length of calling, substr out that many characters of "sustava2", and do a single compare.