Обсуждения
Easter Eggs
1 голос
3 ответовEaster eggs (Phyton) HELPPPPP
2 голосов
5 ответовЧто такое spam and eggs
1 голос
2 ответовWhy spam and eggs
5 голосов
4 ответовWhy did eggs change in value?
2 голосов
6 ответовi dont get the spam and eggs
0 голосов
3 ответовWhat does foo and bar mean
1 голос
2 ответовcan 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 голос
5 ответовАктуальное сегодня
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Need a friend to study with
0 Votes
I’m new someone can help me
0 Votes
HTML community, HELP!!
1 Votes
I am a super beginner
0 Votes
What's doctype htMl
2 Votes