Q&A Discussions
What is wrong with
1 Vote
2 AnswersWhat's wrong in this??
3 Votes
5 Answersis this wrong?
0 Votes
1 AnswerQuick feedback on error?
0 Votes
13 Answersoutputs array
0 Votes
2 AnswersHow i can do in python?
2 Votes
1 AnswerWhy output is 4,9
2 Votes
3 AnswersHow to generate ?
0 Votes
1 Answercan someone help..
what does this code means so it could have the output like on the example..
class SpecialString:
def __init__(self, cont):
self.cont = cont
def __gt__(self, other):
for index in range(len(other.cont)+1):
result = other.cont[:index] + ">" + self.cont
result += ">" + other.cont[index:]
print(result)
spam = SpecialString("spam")
eggs = SpecialString("eggs")
spam > eggs
1 Vote
6 AnswersWhat am I doing wrong?
0 Votes
3 AnswersSwitch statement cases
1 Vote
1 AnswerHot today
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Java full stack
0 Votes
Best code for creating games?
0 Votes
Duration of heart refilling
0 Votes