A is False, since ord("0") = 48 and ord("9") = 57, so 48-57 = -9, therefore != 10
B & C are correct:
B has a string containing 2 single quotation marks, therefore a length of 2
C is correct since: ord("z") = 122, 122 -1 = 121, chr(121) = "y"
D seems correct, but if we pay close attention, the code is erroneous. There are no double quotation marks, there are 2 single quotation marks on each side, making the code snipped erroneous.
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.
momo_0
1 week, 4 days agodune0
5 months, 1 week agoHorsefeathers
2 months, 1 week agojarun2024
7 months, 2 weeks agojarun2024
7 months, 2 weeks agoeskimolight
8 months, 4 weeks agoDave304409
9 months, 3 weeks agoDKAT2023
9 months, 3 weeks agokstr
10 months, 2 weeks agoa4129fd
10 months, 3 weeks ago