GET 65% Discount on All Products Coupon code: "bigdisc65"
Which one of the platform module functions should be used to determine the underlying platform name?
platform.uname ()
platform.platform ()
platform.python_version()
platform.processor()
Which of the following statement are true? (Select two answers)
closing an open file is performed by the closefile ( ) function
the second open ( ) argument describes the open mode and defaults to ‘w’
if open ( ) ‘s second argument is ‘r’ the file must exist or open will fail
if open ( )’s second argument is ‘w’ and the invocation succeeds, the previous file’s content is lost
A variable stored separately in every object is called:
there are no such variables, all variables are shared among objects
a class variable
an object variable
an instance variable
What is the expected output of the following code?
21
2
3
12
TESTED 21 Nov 2024