Q&A Discussões
Py
0 Voto
3 Respostascan 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 Voto
5 RespostasHow to write html
0 Voto
3 RespostasMethod in python
0 Voto
2 RespostasQuente hoje
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!!
0 Votes
I am a super beginner
0 Votes
What's doctype htMl
2 Votes