0

Print statement

in c printf("%d number is %d",i,j). but how do in python

5th Feb 2018, 6:40 AM
dhanasekar k
dhanasekar k - avatar
5 Answers
+ 1
tq guys
5th Feb 2018, 7:01 AM
dhanasekar k
dhanasekar k - avatar
+ 1
hi, print('{1} {0}'.format('one','two'))
5th Feb 2018, 7:28 AM
MBZH31
MBZH31 - avatar
+ 1
tq
5th Feb 2018, 1:53 PM
dhanasekar k
dhanasekar k - avatar
0
print("{} number is {}".format(i, j))
5th Feb 2018, 6:57 AM
David Handl
David Handl - avatar
0
Or print("%i number is %i" % (i, j))
5th Feb 2018, 6:58 AM
David Handl
David Handl - avatar