Andre Roberge <[email protected]> added the comment:
Third case. Showing only the output for Python 3.10
>>> a = 3 ⁄ 7 # entered with a space around ⁄
File "<stdin>", line 1
a = 3 ⁄ 7
^
SyntaxError: invalid character '⁄' (U+2044)
>>> a = 3⁄7 # no added space
File "<stdin>", line 1
a = 3⁄7
^
SyntaxError: invalid decimal literal
= =
In the terminal, the integers 3 and 7 look the same with or without spaces
around the ⁄ character, known as FRACTION SLASH.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44780>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com