Computer Science, asked by nandiniseelamneni20, 1 year ago

the method isatty() return for an existing interactive file stream in Python: a.int b.string c.bool true d.bool false

Answers

Answered by AnkitDey
10
I think answer is : -
c. Boolean true
Hope it helps .
Answered by phillipinestest
0

Answer: c. bool true.

The method isatty() return type for an existing interactive file stream in Python is bool true or Boolean.  

So, the correct choice of answer for the given question from the given list of "possible answers" is c) true.

The isatty() method in python is used to check whether the file is connected to the terminal or in other words and also to check the presence of an existing interactive file stream.

If an interactive file stream is already present, then it "returns true" otherwise, it "returns false".

Similar questions