+ 1

How can i change 5.0 into 5???

15th Jul 2018, 7:12 PM
찚영환
찚영환 - avatar
5 Respostas
+ 2
안녕하섞요, 찚영환 ! 너는 ëŹŽì—‡ì„ ì—Œë‘ì—ë‘êł  있니? ìą€ 더 자섞히 작성하멎 ì‚ŹëžŒë“€ìŽ ë‹č신을 도욞 수 있슔니닀!
15th Jul 2018, 7:15 PM
Alexander Sokolov
Alexander Sokolov - avatar
+ 2
s = 5.0 print(int(s)) >>> 5
15th Jul 2018, 7:39 PM
AMiR3M
AMiR3M - avatar
+ 1
when we use float(5), we get 5.0 then what about 5.0 into 5??
15th Jul 2018, 7:19 PM
찚영환
찚영환 - avatar
+ 1
oh thanks
15th Jul 2018, 7:57 PM
찚영환
찚영환 - avatar
0
num= 5.0 print(int(num)) // 5
15th Jul 2018, 8:37 PM
Dlite
Dlite - avatar