Warwick_Tech Posted June 25, 2024 Posted June 25, 2024 Hi All, Am I going crazy here - My IT lead has said they don't want to use Python Online anymore (https://www.online-python.com/) because, and I quote - "The line when it asks for an input is on a new line and not next to the question" For a visual example, run the same code here; https://www.programiz.com/python-programming/online-compiler/ and it is on the same line. def sum(a, b): return (a + b) a = int(input('Enter 1st number: ')) b = int(input('Enter 2nd number: ')) print(f'Sum of {a} and {b} is {sum(a, b)}') How do I even begin to explain this is just preference, the same as the different colours each IDLE uses?
mavhc Posted June 25, 2024 Posted June 25, 2024 Hmm, it's more than a preference, it's outputting different characters, can't trust it to be precisely the same as other interpreters. It does the same for C though. Can't find out who runs the site either. There's always https://vscode.dev/ 1
SteveM555 Posted June 25, 2024 Posted June 25, 2024 Not sure I'm seeing the same when running that code?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now