Monday, January 4, 2021

Python program to convert a given float number to integer

 Python program to convert a given float number to integer 



CODE SOURCE :


num = float (input())

print(int(num))



TEST CASE 1:


SAMPLE INPUT :


15.893


EXEPT OUTPUT :


15


TEST CASE 2:


SAMLE INPUT :


19.567


EXEPT OUTPUT :


19



No comments:

Post a Comment

cisco Cybersecurity Essentials Quiz 8 answer in bold

Question  1 Correct Mark 2.00 out of 2.00 Flag question Question text A company has had several incidents involving users downloading unauth...