Python core OOPS lesson 80.1 - A Simple Game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python core OOPS lesson 80.1 - A Simple Game

Could someone please help me understand lesson 80.1 of python core ? I copy pasted the code as it is and it got errors and had like no output i also tried understanding the code line by line but there were things i was unable to get

2nd Jun 2022, 7:01 PM
Nandan Joshi
1 Answer
+ 1
There it first implemented a single class GameObject and next it is inherited into another class Gabbine. So combine 2 codes into one, and run to see output. read lesson again for explanations.. first code works fine but accepting infinite inputs.. next code extended version of adding 2 classes to first and a examine function added. you need combine these two. third one is improved class of Gabbine class with added functions of prevoius one...
2nd Jun 2022, 7:30 PM
Jayakrishna 🇮🇳