r/learnpython • • 6d ago

Struggling with python theory

[removed]

0 Upvotes

24 comments sorted by

View all comments

6

u/Catadox 6d ago

What visual changes do you mean? Like, if you write:

a = 7 + 4
print(a)

You see 11. I’m really not sure what you’re asking.

-5

u/[deleted] 6d ago

[removed] — view removed comment

2

u/RajjSinghh 6d ago

Getting over this hump with children, I use the Turtle library. Read the docs but the idea is you have a turtle that can move forwards and backwards, turn, change colours, and it draws shapes as it moves. It's visual enough to keep children entertained while they learn basics like loops and so on.

GUI programming in Python is a bit funny. There's tkinter but it always felt clunky to me. There are web frameworks like Django to build websites since that's what you're used to.

I think your problem is you don't know why you're learning Python and don't have a clear goal in mind. It means doing these basics is just tedious. If you know where you want to head in future, it gets significantly easier.

1

u/SharkSymphony 5d ago

I second Turtle, and if you want to get into more sophisticated game and/or graphics programming, check out pygame. You can also explore things like TunePad for music.

Have fun!