Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why is the magic method __gt__ not necessary?
__gt__
magic
0 Votes
2 Answers
11th Oct 2019, 8:18 PM
Mostapha Amenchar
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
Why does the magic method __gt__ not only compare 2 objects salaries but compare any 2 numeric arguments of 2 different objects?
magic-methods
oop
python
1 Vote
3 Answers
12th Aug 2022, 9:18 PM
Rebecca
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
What programming language should i learn to make applications or games?
1 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
a phone or a laptop
0 Votes
Pressure and tension
2 Votes
Where is code bit
0 Votes
How to make a selection on a calculator in Python
0 Votes
ConducciĂłn de calor o Q=âkAdTdxQ = -k A \frac{dT}{dx}Q=âkAdxdT o Pared 2 mÂČ, espesor 0.1 m, k = 50 W/m°C, ÎT = 30°C â Q â 30,0
0 Votes