0
Why it doesn't continue?
Rolling a dice https://code.sololearn.com/cF5TS5F4TVTp/?ref=app
2 Answers
+ 6
%f is a format specifier for float. In p2 to p6, you try to print int with %f, which is expected to be float.
In a nutshell, you use the wrong format specifier for int. The correct one is %d.
+ 1
Yeah! Thanks