Chaining together assignments is okay : Introduction : Introduction PYTHON TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PYTHON TUTORIALS
»
Introduction
»
Introduction
»
Chaining together assignments is okay
x =
1
y = x = x +
1
print x, y
Related Scripts with Example Source Code in same category :
Statements and Syntax
Multiple Statements on a Single Line ( ; )
Continuation ( \ )
Assignment Operator
Augmented Assignment
Multiple Assignment
Leave a Comment / Note
Name (required)
email (will not be published) (required)
Website
Vérification
Refresh
Enter code
Verification is used to prevent unwanted posts (spam). .
PYTHON TUTORIALS
Introduction
»
Introduction
Introduction
Variable Scope
Code Indetion
Assignment
Comments
Main
Environment variable
Module
Variable
Print
Buildin Function
Buildin Module
CGI Web
Class
Collections
Data Type
Database
Dictionary
File
Function
Introduction
List
Network
Operator
Regular Expressions
Statement
String
Thread
Tkinker
Tuple
Windows
WxPython
XML