0

{str="sum of {0:b} and{1::b} is {2:4}".format(2,2,4) print (str)

what is the Tracking of the program

14th Nov 2019, 1:28 AM
Lakshmi Prasanna
2 Answers
+ 1
I recommend you to use new formatting style, added recently to Python: https://code.sololearn.com/c54y6N3jrUjg/?ref=app
14th Nov 2019, 1:35 AM
Asman-H
Asman-H - avatar
0
Str1 = "The Sum of {0:b} and {1:b}".format(2, 2) print(Str1)
30th Dec 2023, 2:28 PM
Nishant Dhage
Nishant Dhage - avatar