I want to return value without any error while casting string to integer.
For example, if I have a string "Hello World", it will return to false instead of error when I would like to use casting process.
This is error statement when I tried to casting string into int:
"ValueError: invalid literal for
int()with base 10: 'From fairest creatures we desire increase,'"
string = int('From fairest creatures we desire increase,')
 
     
     
     
    