a=chr(input("first digit: "))
After receiving a number like this, I want to convert it to chr type, but I keep getting errors What is the problem?
python
Returns a string is input chr is integer I input error because as the brother.
You can change it back to integrer and use it.
a=chr(int(input("first digit: ")))))
554 Uncaught (inpromise) Error on Electron: An object could not be cloned
554 Understanding How to Configure Google API Key
557 PHP ssh2_scp_send fails to send files as intended
555 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
555 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.