Q&A Discussies
Easter Eggs
1 Stem
3 AntwoordenEaster eggs (Phyton) HELPPPPP
2 Stemmen
5 AntwoordenWhy spam and eggs
5 Stemmen
4 AntwoordenWhy did eggs change in value?
2 Stemmen
6 Antwoordeni dont get the spam and eggs
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
debate which is better
6 Votes
Debugging issue?
0 Votes
Text editor
0 Votes
how to view only application
0 Votes
Arduino
2 Votes
If very confusing
0 Votes
Scraping
0 Votes