C-16-Q067mediumsingle_mcq
After z = int("3"), the value of z is:
After z = int("3"), the value of z is:
- a'3'
- b3
- c3.0
- derror
ব্যাখ্যা
The string "3" represents a valid whole number, so int("3") successfully converts it to the integer 3. The quotes are removed and the result is a numeric value.