0
What is %d use
j,i=1,2 while(i<5): j=j*i i=i+1 print ("j is:%d"%j)
3 Answers
+ 4
it's a placeholder for a variable inside a string.
+ 1
And it converts the variable to an integer
0
so what is it output?
j,i=1,2 while(i<5): j=j*i i=i+1 print ("j is:%d"%j)