Asignación por múltiples nombres
Nuevo tipEn Python es posible asignar un mismo valor o una o más variables al mismo tiempo.
>>> one = two = three = 'PyWombat'
>>> one
'PyWombat'
>>> two
'PyWombat'
>>> three
'PyWombat'
En Python es posible asignar un mismo valor o una o más variables al mismo tiempo.
>>> one = two = three = 'PyWombat'
>>> one
'PyWombat'
>>> two
'PyWombat'
>>> three
'PyWombat'