-1
I noticed you put "%i"
on lines 12 and 16, this is not to show integer value.
-1
2
I noticed you put "%i"
on lines 12 and 16, this is not to show integer value.
That was the problem. VLW for help!
1
On the lines where the 'prints' result simply change the encoding to:
print("Media %f"%media)
This formatting will allow you to display the content in Float
in that link you can also check other functions that are used in the same way!
Browser other questions tagged python-3.x
You are not signed in. Login or sign up in order to post.
Avoid putting pictures, put the code in the question.
– Barbetta
Rather than
%i
use%f
– Math
Vlw for the help man.
– Eduardo Reis