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
...
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 2 years, 6 months agowacha1978
Highly Voted 3 years agoTEC65
Most Recent 7 months, 3 weeks agodcross
11 months, 3 weeks agomplopez
1 year, 2 months agojaimebb
1 year, 3 months agomanugarcima
1 year, 7 months agoandr3
1 year, 7 months agoDlugi_Zuraw
1 year, 7 months agohaly
2 years agomacxsz
2 years, 6 months agoMTLE
2 years, 6 months agoQuanteo
2 years, 7 months agorocky48
2 years, 7 months agolukaki
2 years, 11 months ago