Categories

Jun 13, 2019 in Python

Q: What is the output of the code shown below?

'%.2f%s' % (1.2345, 99)

a. ‘1.234599’
b. 1.23, 99
c.‘1.2399’
d. ‘1.2345’, ‘99’

Related questions

Madanswer
Feb 11 in Python
Jun 13, 2019 in Python
Jul 16 in Python
...