Обсуждения
Hello. Python
 1 голос
 5 ответовКак начать понимать питон
 1 голос
 2 ответовWhy is answer 0112 in this code?
 0 голосов
 4 ответовCreating a dice game 
 0 голосов
 3 ответовHelp me on "return"
 1 голос
 7 ответов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 голос
 6 ответовIf problem
 2 голосов
 3 ответовFunction Maths
 0 голосов
 2 ответов[Solved] Does a class need a def?
 2 голосов
 3 ответовWhat is the output of this code?
 0 голосов
 2 ответовclass and methods
 0 голосов
 5 ответовАктуальное сегодня
Beginner question
 0 Votes
I need help to solve this
 0 Votes
Remove
 0 Votes
Project
 0 Votes
Engineer Cloud
 0 Votes
Lua?
 1 Votes