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 get graphic commands to work for Python 3

+1 vote
asked Oct 5, 2021 by Tresa Zaragoza (130 points)
# Print Hello World to the screen
txt = Text("Hello World")
txt.set_position(25, 100)
txt.set_color(Color.black)
txt.set_font("50pt Arial")
add(txt)

1 Answer

0 votes
answered Oct 6, 2021 by Peter Minarik (86,040 points)
I'm not familiar with the Text class. However, it sounds like you need a windowing system for this and as such, the OnlineGDB probably won't support it as it works on a console (standard output) only.
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.
...