Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
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 ответовАктуальное сегодня
Remove from a slice of a list
2 Votes
Questions
1 Votes
Why it's giving error
3 Votes
HTML CSS - Filter: brightness()
0 Votes
Questions
0 Votes
String methods
1 Votes
xampp
0 Votes
Collection
0 Votes