B,C , D is incorrect as print(len(""" """)==1 note that there are three qoutes and an empty string whcih means it includes a new line chracter andwhich counts as one chracter
85 Which of the following expressions evaluate to True? (Choose two.)
respuestas ok la B Y LA C
A. print (ord("Z") - ord("z") == ord("0")) False
B. print (chr(ord('A') +1) == 'B') True
C. print (len('\'') == 1) True
D. print (len(""" """) == 0) False
Answer: B and D
print(ord('Z') - ord('z') == ord('0'))
print(chr(ord('A') +1) == 'B' )
print(len('\~') == 1 )
print(len('') == 0 )
Output:
False
True
False
True
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.PCAP Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Miguel_A
Highly Voted 3 years agowacha1978
Highly Voted 3 years, 6 months agoTEC65
Most Recent 1 year, 1 month agodcross
1 year, 5 months agomplopez
1 year, 8 months agojaimebb
1 year, 9 months agomanugarcima
2 years, 1 month agoandr3
2 years, 1 month agoDlugi_Zuraw
2 years, 1 month agohaly
2 years, 7 months agomacxsz
3 years agoMTLE
3 years agoQuanteo
3 years, 2 months agorocky48
3 years, 2 months agolukaki
3 years, 5 months ago