πŸ”₯ Welcome to my blog! Latest updates available now. Visit daily! πŸ”₯ πŸ”₯ Click Here for Latest Updates – Visit My Blog πŸ”₯
πŸ”₯ Latest Updates πŸ“Š GP Grade Finder πŸ“’ Government Services Info πŸ†• New Schemes Updates

None Data Type and Constants in Python

-->None means Nothing or No value associated.

-->If the value is not available, then to handle such type of cases None introduced. It is something like null value in Java.


Example:

def n1(): a=10

print(n1())

None















Constants 


-->Constants concept is not applicable in Python.

-->But it is convention to use only uppercase characters if we don't want to change value.

MAX_VALUE=10

-->It is just convention but we can change the value.

No comments:

Post a Comment

Thank you Very Much.For Given Comment

Quatation of the Day 22-03-2026