I wanted to convert string into integer, it shoes error but if I do it the other way round it converts. Is this a fact or there is a way to convert strings into integers
//code goes here
y=“hello”
x=int(y)
//error shows
Traceback (most recent call last):
File “”, line 1, in
ValueError: invalid literal for int() with base 10: 'hello ’