python debugging | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

python debugging

how to run this code without error i want initialiazwe __init__ function without any error but i recieve some: https://www.sololearn.com/compiler-playground/cdEKbqHQJlWV

21st Dec 2022, 4:20 PM
Nariman Tajari
Nariman Tajari - avatar
1 Answer
+ 6
Line 16 You used an addition operator `+` where a comma was expected - between value for <height> and <zheight> parameter return Shape( self.width + object2.width, self.height + object2.height, self.zeight + object2.zeight )
21st Dec 2022, 4:29 PM
Ipang