while trying the pong game in python i used super class to create paddles and when i am tryin to input position for the paddles it is showing error [closed]
[enter image description here][1]```[enter image description here][2] class Paddle (Turtle): def int(self, position): super().init() self.shape("square") self.shapesize(stretch_wid=5, stretch_len=1) self.color("white") self.penup() self.goto(position) r_paddle = Paddle ((350,0)) l_paddle = Paddle ((-350,0))
[1]: https://i.stack.imgur.com/UWjla.png
[2]: https://i.stack.imgur.com/76gVK.png
source https://stackoverflow.com/questions/73521413/while-trying-the-pong-game-in-python-i-used-super-class-to-create-paddles-and-wh
Comments
Post a Comment