New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
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 Vote
5 Answerswhat if you have like 1%10?
2 Votes
3 Answersmore feature like challenge
0 Votes
1 Answeri have two tables table_1 in database_1 and table_a in database_A. from different programs. they contain 60% the same columns. 40% is different. the columns are sorted differently. I would like to to edit only one of them an update the other automatically. Any idea on how to? Thank you in advance. With kind regards Jo Pi
0 Votes
3 Answerswho like html?
-1 Vote
4 AnswersHot today
HTML Module 3 Quiz
1 Votes
Bits
4 Votes
How to cast in python : 2
0 Votes
Field name in ef core
0 Votes
This error is showing.
0 Votes