menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Variable a...
source image

Dev

1M

read

58

img
dot

Image Credit: Dev

Variable assignment in Python

  • Python allows assigning one or more values to one or more variables.
  • String type values cannot be changed directly, but list() and join() can be used for such operations.
  • Variables in Python can hold references to lists, changing one list can affect other variables referencing the same list.
  • Assigning multiple values with commas creates a tuple in Python.

Read Full Article

like

3 Likes

For uninterrupted reading, download the app