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

+9 votes
asked Apr 13, 2022 by Alan Freeman-Johnson (210 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, 2022 by Peter Minarik (84,720 points)
Probably you won't be able to do graphics (only characters) via OnlineGDB. :(
asked May 8, 2022 by Abhikash Bhagat (130 points) is c++ and oops are same?? i
commented Nov 29, 2023 by pratham (110 points)
C++ is a oop as oop stands for object oriented programing
0 votes
answered May 5, 2022 by userdotexe (1,340 points)
edited May 26, 2022 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.
...