Advertisement
PlainclothesCop

CodeHS Answers-3.7.8 French Flag

Aug 25th, 2021
1,348
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 1 0
  1. get_height()
  2. get_width()
  3.  
  4. rect = Rectangle(133,480)
  5. rect.set_color(Color.blue)
  6. rect.set_position(0,  0)
  7. add(rect)
  8.  
  9. rect = Rectangle(133, 480)
  10. rect.set_color(Color.white)
  11. rect.set_position(133,  0)
  12. add(rect)
  13.  
  14. rect = Rectangle(133, 480)
  15. rect.set_color(Color.red)
  16. rect.set_position(266,  0)
  17. add(rect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement