An introduction to the concept of object-oriented programming, including:
the difference between a class and an object/instance
what we mean by attributes and methods
what we mean by "operator overloading"
This is done using the properties of rectangles - there are no obscure examples and no trucks!
You can look at the example code (no longer in Replit) here:
https://console.basthon.fr/?from=http...
You can read my introduction to object-oriented programming here:
https://www.advanced-ict.info/blog/ob...
You can also see the resources for learning to program on the Computing and ICT in a Nutshell website: https://www.advanced-ict.info/program...