Exception has occurred: ValueError invalid literal for int() with base 10: '' code example

Example 1: Python ValueError: invalid literal for int() with base 10:

# try using int(float(x)) as per the example below... Worked for me :)
int(float('55063.000000'))
# expected output: 55063.0

Example 2: invalid literal for int() with base 10 python

#The Python ValueError: invalid literal for int() with base 10 error 
#  is raised when you try to convert a string value that is not formatted
#  as an integer. like a = "name" to int(a)