Python 3 Scalar Built in Types
The below example explains about the python 3 available built in scalar types,
The below example explains about the python 3 available built in scalar types,
''' Available list of scalar built in types in python are
1. int
2. float
3. None
4. bool'''
int_value = 5 # An integer assignment
float_value = 50.0 # A floating point
string_value = "name" # A stringnone_value = None
print (int_value)
print (float_value)
print (string_value)
# print (None(none_value)) it will not print gives
#"TypeError: 'NoneType' object is not callable"
No comments:
Post a Comment