+ 1

Problems with updated PyCharm. Who else have such problem?

Have been updated PyCharm to PyCharm 2017.3 (Community Edition) Build #PC-173.3727.137, built on November 28, 2017 JRE: 1.8.0_152-release-1024-b6 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Tried to run: c = int(input()) And for my surprise the ValueError raised. 'ValueError: invalid literal for int() with base 10' Does anybody have such problems too?

6th Dec 2017, 11:45 AM
Denis Tarasov
Denis Tarasov - avatar
3 Réponses
+ 6
Are you sure that you didn't input any floating-point number, cuz if you did, then it will throw this type of error. Use float() instead
6th Dec 2017, 12:42 PM
Cool Codin
Cool Codin - avatar
+ 1
Will be corrected in 2017.3.1 version.
9th Dec 2017, 1:53 PM
Denis Tarasov
Denis Tarasov - avatar
0
Yep, I'm sure. I do not input anything at all. I simply run instructions, and immediately have such error.
6th Dec 2017, 12:45 PM
Denis Tarasov
Denis Tarasov - avatar