Posts

Python tutorial 2

Python Basics • Always use .py as extention First Command of Python in VS code # Make a python file  # Write print, bracket and double comma in it then text you want to write. #e.g [print ("Hello")]   ([] long bracket not to be written.) # Save the file  #Press Run Button on top right area of window # File will run in prompt  Commenting out in Python # To comment out in python write '# ' as first character of line  # Commenting out means that when your command runs than python interpreter will skip the line.      It is usually used as a remark for the code    Assigning Variables in python  # Assigning variable in python is same as letting a variable in maths. # To assign a variable write a variable (A variable can be a letter abc...) write equal to a 'number' or a 'word' or another variable # E.g    [a = 2 ][b = 'python'][ a =b][ c = 10.9] # Write print, bracket, variable in it # E.g print(a)  {dont write print("a")} Arthrmatic Opera

Python Tutorial 1

Image
Python Tutorial 1 Python is a simple and easy to learn language. That is widely used in many places.  Step 1 . Go to google   Step 2 . Search for Python , Download latest version of it.  3 . Search for VS Code and download latest version of it. Step 4. Open Python setup -> Click on RUN button -> Click on Install Now button. Step 5 .Open Vs Code setup -> Select I accept the agreement and click Next -> Select destination folder and click Next   -> Select start menu folder and click on Next    -> Tick all check boxes and click Next   -> Click on I nstall   Wait till both install Step 6. Close both Installers and open VS Code Step 7. Make a new folder for tutorials Step 8. Select that folder from Vs code and open it. Or Step 8. Open that folder, Right click anywhere on screen and select '' Open with Code " Step 9. In Vs code Go to Extention Tab on left cornor of screen and search for python and download Python Ex