Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

In Python 3, print can take an optional flush argument:

**print("Hello, World!", flush=True)**
In Python 2 you'll have to do
***
import sys
sys.stdout.flush()
***
after calling print.
print prints to sys.stdout (see the documentation for more about file objects).
I hope this explains your question? Or do you need more explanation
3 years ago
Can you elaborate more?
What main topics are you referring for .
3 years ago
Hello, the questions seem to be incomplete. you have not provided the 'array given below'.
Or please elaborate more
3 years ago