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
3 weeks, 4 days agodune0
5 months, 3 weeks agoHorsefeathers
2 months, 3 weeks agojarun2024
8 months agojarun2024
8 months agoeskimolight
9 months, 1 week agoDave304409
10 months agoDKAT2023
10 months, 1 week agokstr
11 months agoa4129fd
11 months, 1 week ago