Q&A Discussies
Please help..
0 Stemmen
5 AntwoordenHelp.. Doubt.
2 Stemmen
4 Antwoorden[SOLVED] Help..
2 Stemmen
1 AntwoordHelp.. i aint getting further.
12 Stemmen
19 AntwoordenPLEASE HELP.. BASIC C++
3 Stemmen
6 AntwoordenI need help..
0 Stemmen
3 AntwoordenLast try to get some help..
2 Stemmen
6 AntwoordenI forgot python Pls help..
0 Stemmen
2 AntwoordenThe else Clause - I need help..
0 Stemmen
3 Antwoordencan 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 Stem
6 AntwoordenPopulair vandaag
Where is the bug?
3 Votes
Pointers cpp
2 Votes
Is pro worth the money ?
1 Votes
Drawing images in java
2 Votes