Discussioni Q&A
What is wrong with
1 Voto
2 RisposteWhat's wrong in this??
3 Voti
5 Risposteis this wrong?
0 Voti
1 Rispostaoutputs array
0 Voti
2 RisposteWhy output is 4,9
2 Voti
3 RisposteHow to generate ?
0 Voti
1 Rispostacan 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
6 RisposteWhat am I doing wrong?
0 Voti
3 RisposteSwitch statement cases
1 Voto
1 RispostaPopolare oggi
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Salut tout le monde
1 Votes
How can i isntall modules
1 Votes
Unity's loading time?
4 Votes