First, you want to download the latest python. Click here. I already downloaded python 3.9.6. Next, you should download visual studio code. Click here. Now you can get started with visual studio code. Open visual studio code–>filemenu–>click New File(ctrl+N)–>Select the language in which you are going to write the program. Write code sample as following–>Click on Run menu and click on Run without Debugging(ctrl+F5)–>Your save the program as py file–>You will see the output on Terminal. Let’s go and you may want to find out more things on Visual Studio Code by yourself.
Programming in Python
Now you have already done the initial step for Programming in Python. Let’s continue and follow all lessons here.
- Learn to write programs using python
- All the important concepts of programming
- You make sure to practice the exercises
- you can comment here and ask any questions related to the subject
Python is the dynamic multipurpose programming language. It’s heavily used for matching learning and deep learning use for computers. We also use in web applications Django, flask. These are web frameworks and they are also used in desktop applications. This is the most famous language because it lets us do a lot of stuff.
–> [asdfsfsfsfafdff] your python code –>
–> [Compiler]Check for syntax error –>
–> [Byte code] Check for runtime errors –>
–> [Python virtual machine] Runs at virtual machine code –>
Lets get started
#This is a comment
Firstname2 = “Jasing” #string
first_name = “along” #string
print( first_name ) #print function
print(“my name is priyantha”)
print(“my name is “, first_name)
#variable can be added
car_1_speed = 200
car_2_speed = 200.23
all_car_speed = motor_1_speed + car_2_speed
Lets go to the 2-lesson