Constants in Python | JaggyTech

Published: 20 May 2023
on channel: JaggyTech
138
3

Python doesn't support constants. To workaround this, you can use all the capital letters to name a variable to indicate that the variable should be treated as a constant.
ex: PIE=3.14
MAX=5
these variables are constant by convention not by rules.

Thanks for watching.
Happy Learning :)

Pls do : Like | Share | Subscribe


Watch video Constants in Python | JaggyTech online without registration, duration hours minute second in high quality. This video was added by user JaggyTech 20 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13 once and liked it people.