Why is my program not working? (composition practise) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is my program not working? (composition practise)

Hello, can somebody help me please? I wanted to practise object composition and make a "Dictionary" object that contains one "Word" object, but it doesn't work. It gives me only some errors. Seemy code here. https://code.sololearn.com/c6tg5mE2kzQG/?ref=app

25th Feb 2018, 12:13 PM
Jan Štěch
Jan Štěch - avatar
1 Answer
+ 1
Thank you very much! How could I forget about the call operator. :-D
26th Feb 2018, 5:50 AM
Jan Štěch
Jan Štěch - avatar