Writing Python Scripts

Writing Python Scripts :

Writing scripts is easy in Python . Simply open your Text-Editor.

Say Notepad.exe ( C:\Windows\System32\notepad.exe)
Now Our first Script will be adding two numbers:

a=4
b=6
c=a+b
print("the sum is",c)


Now Save the file as    Sum.py  and you are done writing your first python script to add numbers.







No comments:

Post a Comment