Q&A Discussions
Please help..
0 Votes
5 AnswersHelp.. Doubt.
2 Votes
4 Answers[SOLVED] Help..
2 Votes
1 AnswerHelp.. i aint getting further.
12 Votes
19 AnswersPLEASE HELP.. BASIC C++
3 Votes
6 AnswersI need help..
0 Votes
3 AnswersLast try to get some help..
2 Votes
6 AnswersI forgot python Pls help..
0 Votes
2 Answerscan 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 AnswersHot today
Learn python
2 Votes
Help for study
1 Votes
Where's PHP and Ruby courses?
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
Not image in the page
0 Votes
How to make a 2d game
0 Votes