Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #OBJECT-ORIENTED PROGRAMMING IN PYTHON RASPBERRY PI FOUNDATION
- #www.futurelearn.com/courses/object-oriented-principles/6/steps/469430#fl-comments
- #https://htmlpreview.github.io/?https://github.com/raspberrypilearning/shapes/blob/master/shapes.html#Shape
- #https://raw.githubusercontent.com/raspberrypilearning/shapes/master/shapes.py
- from shapes import Triangle, Rectangle, Oval,Paper
- tri1 = Triangle()
- tri1.randomize()
- tri1.draw()
- Paper.display()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement