This fails on iPad running Safari or Chrome, and fails on Mac running Safari but is okay on Chrome. The error is:
Traceback (most recent call last):
File "/home/bg62x3qw/main.py", line 2, in
print(int(num))
ValueError: invalid literal for int() with base 10: '\u200b5'
The problem stems from the extra character added in positioning the cursor on the screen.
num = input('Enter number: ') print(int(num))
This fails on iPad running Safari or Chrome, and fails on Mac running Safari but is okay on Chrome. The error is:
Traceback (most recent call last): File "/home/bg62x3qw/main.py", line 2, in
print(int(num))
ValueError: invalid literal for int() with base 10: '\u200b5'
The problem stems from the extra character added in positioning the cursor on the screen.