Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcjęDyskusje Q&A
Spamming should be reduce
6 głosów
7 odpowiedziAlguien Abla español
-4 głosów
1 OdpowiedźSpammer!
2 głosów
5 odpowiedziSave spam..
7 głosów
2 odpowiedzi‼️Helpful SoloLearn Idea‼️
6 głosów
4 odpowiedzican 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 Głos
5 odpowiedziI want to...
1 Głos
4 odpowiedziQ&A moderating
3 głosów
4 odpowiedziHacked account?
3 głosów
6 odpowiedziAbout Feed
3 głosów
1 OdpowiedźPopularne dzisiaj
Solution
0 Votes
Calculator
0 Votes
How to make animation
0 Votes
help pls
1 Votes
C? C++? C#? Horses for courses?
0 Votes