WeRCopyPasteDeveloper
Pages - Menu
Home
Python
Android
Advance Java
Management
My Playstore Application
Saturday, November 16, 2019
Multiple Assignment
Multiple Assignment
Python allows you to assign a single value to several variables simultaneously.
Example:
a=b=c=5
print(a)
print(b)
print(c)
Output:
5
5
5
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Operators and Operands
Operators and Operands Operators are special symbols that represent computations like addition and multiplication. The values the ope...
Swap Variable
Swap Variable In Python swap values in a single line and this applies to all objects in python. Syntax: var1,var2=var2,var1 Exa...
No comments:
Post a Comment