Exam4Training

Which of the following expressions evaluate to True? (Select two answers)

Which of the following expressions evaluate to True? (Select two answers)
A . str(1-1) in ‘012345£739′[:2]
B . ‘phd’ in ‘alpha’
C . ‘deb’ not in ‘abcde’ [::-1]
D . ‘True’ not in ‘False’

Answer: C,D

Exit mobile version