![]() ![]() One can think that while executing the above code, Python will automatically truncate the decimal value and retain only the integer part. ![]() ValueError: invalid literal for int() with base 10: '55.5' Print ("The weight of the person is:" + str(kilos))įile "c:\Projects\Tryouts\listindexerror.py", line 2, in
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |