+ 1

Theory to practice

I have a question regarding Python and the best way to understanding it. It has been two months that i started learning it and now moved toward HTML and CSS too. My question is this and I hope to be enough clear in exposing it. While learning HTML or CSS, I have no problem in going from the theory to the practice of what I learned. It's all very obvious and the examples are visually clear. With Python, I'm understanding the theory, but I don't get how it's applied. Because I can’t "see" it on the screen. Can someone with more knowledge explain me or link me to examples? Also, I understand that Python is a high level language; I just don't understand how I'm supposed to "use" it. I'm sorry for the stupid question.

9th May 2019, 12:50 AM
Deborah Sannino
Deborah Sannino - avatar
4 Réponses
+ 2
When I was starting to learn programming, we were drawing a flowchart for each problem we need to solve. Then I found out about UML diagrams and using them even now sometimes. It is grate way to visualise your programs.
9th May 2019, 5:43 AM
Dima Makieiev
Dima Makieiev - avatar
+ 5
For programming concepts that don't always have a visual output you sometimes have to visualise them in your head. To learn concepts like loops etc. maybe watch some YouTube videos about them to 'get the picture.'
9th May 2019, 3:43 AM
Sonic
Sonic - avatar
+ 1
use built in function help() to assist in understandin and applying. It takes in any object and prints a documentation. help(str) class Hi: pass help(Hi)
9th May 2019, 6:13 PM
Choe
Choe - avatar
0
Thank you for your replies! I think this has to do with HTML and CSS being front-end languages, while Python is a back-end language maybe. I can't "visualize" it, it seems like I'm learning theory, but i don't understand how to put it at use practically. Yes, I'll watch videos on YouTube, see UML diagrams and use the help function too! They will surely help!
9th May 2019, 9:47 PM
Deborah Sannino
Deborah Sannino - avatar