- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 08377052947

-
Teacher
Manoj Sir
-
Category
Programming, Website Development
-
Duation
20 hours
-
Reviews
-
Call Us for Details
Basic Python Course Questions

Python programming language is a general-purpose, dynamic programming Language.Python language have a large library of packages which makes python for beginners a language of choice.
Python Programs for practice
Source Code:
Swap two numbers using third variable
x=5 y=10 print("before swap",x,y) temp=x x=y y=temp print("after swap",x,y)Output
before swap 5 10 after swap 10 5
Source Code:Swap two numbers without using third variable
x=5
y=10
print("before swap",x,y)
x=x+y
y=x-y
x=x-y
print("after swap",x,y)
Output
before swap 5 10 after swap 10 5