Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a = b = c
#3
Documentation » The Python Language Reference » 7.2. Assignment statements
Python docs Wrote:assignment_stmt ::=  (target_list "=")+ (starred_expression | yield_expression)
An assignment statement evaluates the expression list (remember that this can be a single expression or a comma-separated list, the latter yielding a tuple) and assigns the single resulting object to each of the target lists, from left to right.
Reply


Messages In This Thread
a = b = c - by Skaperen - Oct-28-2016, 07:33 AM
RE: a = b = c - by Larz60+ - Oct-28-2016, 11:37 AM
RE: a = b = c - by Yoriz - Oct-28-2016, 12:13 PM
RE: a = b = c - by Kebap - Oct-28-2016, 02:17 PM
RE: a = b = c - by Skaperen - Oct-29-2016, 02:49 AM
RE: a = b = c - by metulburr - Oct-29-2016, 02:58 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020