That's likely your problem right there. Python f-strings didn't exist until Python 3.6Python 3.5.3 (default, Nov 4 2021, 15:29:10)
The error marker '^' is probably way off to the right because of invisible trailing spaces in the source code copied.
Try replacing the print with -
Code:
print("{} equals {} * {}".format(n, x, n // x))Statistics: Posted by hippy — Thu Oct 23, 2025 1:15 pm