Python doesn't have constants

Veröffentlicht am: 28 August 2023
auf dem Kanal: Python Morsels
637
36

Variables point to objects. Constant variables in other languages cannot be reassigned. We don't have any equivalent of that in Python. We have immutable objects, but not constant variables.

https://pym.dev/python-doesnt-have-co...

Find more Python screencasts at https://pym.dev/screencasts/

00:00 The CONSTANT convention
00:18 Variables point to objects
00:55 Immutable objects cannot be changed
01:20 Assignment changes what a variable points to
02:07 Python has immutable objects but not constant variables


Auf dieser Seite können Sie das Online-Video Python doesn't have constants mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Python Morsels 28 August 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 637 Mal angesehen und es wurde von 36 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!