• Re: From geeksforgeeks.org, on converting the string created by the inp

    From Chris Angelico@21:1/5 to python-list@python.org on Fri May 26 10:16:54 2023
    On Fri, 26 May 2023 at 09:58, Kevin M. Wilson via Python-list <python-list@python.org> wrote:

    So, why can't a string of an integer be converted to an integer, via print(int(str('23.5')))???

    23.5 is not an integer, so "23.5" is not the string of an integer.

    ChrisA

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)