Doubt about pycharm

1

I typed exactly this:

import math
num = float(input('Digite um numero: '))
print('A parte inteira do numero {} é {}.'.format(num, math.trunc(num)))

However, when running, this only appears:

Digite um numero: 9.8

Process finished with exit code 0

I would like to know why I can not display what I typed in the third line.

    
asked by anonymous 03.07.2018 / 20:44

1 answer

0

I managed to resolve. Before I was giving "run" by the command Shift + F10. I tried the command Ctrl + Shift + F10 and I was able to solve the problem.

    
03.07.2018 / 22:27