$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · medium · #107

What is printed?

print(bin(5), hex(255))
  1. 0b101 0xff
  2. 101 ff
  3. 0b101 0xFF
  4. 5 255
Both keep their base prefix and hex uses lowercase digits.
Play Problem Solving ▸