0
I don't understand how the code I am learning can be used practically
Hello, I am very new to programming and I started python, but much of this I don't understand the practical application of and how it can actually be used. I am on the introductory part of the python course. Is it just basic stuff that I need to know that will help in the grand scheme of things and will be more useful later on? Can anyone tell me how these things are useful? Here are examples of code that don't understand the practical use of: print("Hello\nworld) and "spam"+'eggs' Thanks
5 Answers
+ 7
Just check these out https://www.python.org/about/success
+ 4
Once you learn the basics of Python, they can be used in so much more complex programs. Programming can do a lot of amazing things, once you utilize the basics. For example, take something that doesn't seem too amazing, automation. I honestly wouldn't enjoy being a employee and having to sift through spreadsheets and find data. We can have the computer do so, but we still have to use the basics of course, such as using a for loop to go through each cell. It just takes patience and practice, and I can understand if it's not fun at first. Programming is just one of those things in life that get more and more exciting the more you progress.
+ 2
How could you do rocket science without learning the alphabet and the numbers first? Start with the basic building blocks, and once you have mastered them, you can move on to more advanced topics and you can build very useful things and implement your creative ideas.
+ 2
The tutorials show you what the language can do:
How to print stuff
How to take input
to store values
do calculations
repeat operations
allow decisions
and so on.
The transfer of what you learn will be your job. This is called 'thinking'. đ
It will become easier the more you do it. For that purpose you'll find easy programming tasks everywhere, that you can try to solve after you've learned the basics. Try the section 'Code Coach' then, for example.
After you've solved a few tasks using the same tool, you'll start to see its potential and gradually find more applications.