C-16-Q130mediumsingle_mcq
After a = 'Hello' and b = ' World', the safest data type to assume for both is:
After a = 'Hello' and b = ' World', the safest data type to assume for both is:
- aint
- bfloat
- cstr
- dbool
ব্যাখ্যা
Both 'Hello' and ' World' are enclosed in quotation marks, which makes them sequences of characters. In Python, any value written inside quotes is a string (str), regardless of its content.