In this Post let us see the basic Syntax and Attributes of Python 3.7.2(Latest Version). Before We start we need to install Certain Packages for Python. In this article, I will be using Visual Studio Code if you are not aware Check Out my other article about Visual Studio Code. Follow the Instructions Given Below:
Step 1: Installing Python Package In Visual Studio Code
Open Visual Studio Code
There You will see an Icon Like this in the left of the Window
![]()
Then Search for “Python”
After Searching Install to continue
Step 2: Create a file named
![]()
Now You have Successfully created a python file!
Syntax and Attributes
Python Uses basic English Words as Attributes. Some basic Attributes are:
- Print:
Print attribute displays or Prints the string given inside the Syntax for print Statement is:
print(“Text”)
This will print the string “Text” in the Output Screen.
- Input:
Input attribute accepts data or values from the user and the Syntax for the Statement is:
x = input(“What is your Name?”)
This will ask the User that “What is your Name” in the Output Screen.
We will See more Attributes in another article.
Note: Python 3.7.2 Latest version as per 2019
HAPPY CODING
Harshith Ashok