Jump to content

Recommended Posts

Posted

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?

Posted

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/

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...