how to start python code code example
Example 1: how to get started with python
#the best way to start with anything is not to rush and start with the basics
#python however is really good for begginers as it is easy to read and understaned
#and has relatively easy syntax so dont spend a lot of time on the basics like
#print() and if rather learn the basics and learn about the libraries
#and a good way to learn about the libraries is https:
#struggling to find motivation for programming the best way to work around it is
#to learn how dopamine works in your brain and how to use it in progoramming
#for that use the video https:
#for a good IDE i reccomend pycharm
#and remember programming is not something you should remember to be good
#programming is something you need to understand and to be a good programmer you
# need to know how to put the internet to a good use and to know where to search
#if this helped leave it an upvote
#rubel1130 :)
Example 2: how to write your first python program
# The basics are messages such as Hello World which is displayed in the shell window.
# The line of code bellow is used to show strings or integers in the python terminal window.
print("Hello World")
Example 3: how to run python program
move to the directory where your program lies
open cmd
python first_script.py(your file name)
Example 4: how to run a code in python
>>> print('Hello World!')
>>> 2 + 5
7
>>> print('Welcome to Real Python!')
Welcome to Real Python!