Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to use a display in python

+7 votes
asked Apr 13 by Alan Freeman-Johnson (190 points)
I am trying to make things using pygame for python, I am having trouble using the display, does anyone know how to do this

2 Answers

0 votes
answered Apr 18 by Peter Minarik (53,530 points)
Probably you won't be able to do graphics (only characters) via OnlineGDB. :(
asked May 8 by Abhikash Bhagat (130 points) is c++ and oops are same?? i
0 votes
answered May 5 by userdotexe (1,310 points)
edited 7 minutes ago by userdotexe

Use the tutorials under General Tutorials and Pygame Tutorials on Specific Topics on https://www.pygame.org/wiki/tutorials (if you're using Pygame on a computer, like Python for Windows/Mac/etc.)... they may be able to help you.

Currently, OnlineGDB doesn't support graphics (so Java Swing, or Pygame/Tkinter/Turtle/Karel, etc.), it only has an online HTML viewer, and Output/Input terminal/console.

:)

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...