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.
dune0
1 week, 3 days agojarun2024
2 months, 3 weeks agojarun2024
2 months, 3 weeks agoeskimolight
4 months agoDave304409
4 months, 3 weeks agoDKAT2023
4 months, 3 weeks agokstr
5 months, 2 weeks agoa4129fd
5 months, 3 weeks ago