Exam PCAP All QuestionsBrowse all questions from this exam
Question 131

What is the expected output of the following code?

    Correct Answer: A

    A

Discussion
swatiphadtare

type(dir(Sys)) would be a list

macxszOption: A

A. False

Jos015Option: A

b1 is a list b2 is string import sys b1 = type (dir(sys)) is str b2 = type (sys.path[-1]) is str print (b1 and b2) print (b1) print (b2) print (dir(sys)) print (sys.path[-1])