C-16-Q005mediumsingle_mcq
Before any object is shown on the screen by print(), it is first transformed into:
Before any object is shown on the screen by print(), it is first transformed into:
- aan integer
- ba string
- ca Boolean
- da float
ব্যাখ্যা
Before output, print() converts the object into its string representation (using str()), because only text can be written to the screen. This is why numbers and other objects display correctly.