PCAP Exam QuestionsBrowse all questions from this exam

PCAP Exam - Question 131


What is the expected output of the following code?

Show Answer
Correct Answer: A

A

Discussion

3 comments
Sign in to comment
macxszOption: A
May 4, 2022

A. False

swatiphadtare
Apr 4, 2023

type(dir(Sys)) would be a list

Jos015Option: A
Nov 8, 2023

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])