I know this sounds stupid, but I'm reading a programming book and they talk about how print() can return nothing (None). They use this code to explain it.
a = 10
b = 15
c = print('a =', a, 'b=', b)
print(c)
I get it, c isn't any data type that print() can take and, y'know, print it. c just has an empty value because it's not a valid data type.
But what data type is c? What data type is None? If c isn't a string, integer, float, nor a boolean, what is it? Shouldn't None be it's own data type?
P.S. If I go to python and assign a variable None and print it, it recognises the data value and does not spit a name error. So theoretically, *None is it's own data type, right?
Oh, and why does Python not convert c to string and then print it?