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