I have written a Python 3 code, which is:
i = int(input("enter number: "))
print("enter",i)
I'm expecting an output as:
enter number: 5
enter 5
However, I'm getting this:
enter number: 5
('enter', 5)
What could be the issue? How can I rectify this?
python
command is in Ubuntu. See the answer below on configuring VS Code, and Why is Python 2.7 still the default Python version in Ubuntu? As the help center says, the scope of this site includes "Development on Ubuntu". Opinion differs on how broadly we should understand that, but it's entirely meaningless if it doesn't at least include questions about tooling and about problems that appear because Ubuntu is different from other OSes. This is both.