Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

Why is the magic method __gt__ not necessary?
__gt__magic
0 Votes
2 Answers
11th Oct 2019, 8:18 PM
Mostapha Amenchar
Mostapha Amenchar - avatar
It gives an erorr saying that __init__ is missing the argument 'h' in __gt__ although it's not missing! Some explain please.
python
0 Votes
6 Answers
12th Aug 2023, 10:05 AM
Intermediate Depression
Intermediate Depression - avatar
Why does the magic method __gt__ not only compare 2 objects salaries but compare any 2 numeric arguments of 2 different objects?
magic-methodsooppython
1 Vote
3 Answers
12th Aug 2022, 9:18 PM
Rebecca
Rebecca - avatar
Hot today
Activities on sololearn
2 Votes
What is problem in this code
0 Votes
playground input
0 Votes
Html issue
1 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
Playground input
0 Votes
Cybersecurity jobs without degree
0 Votes