We are to create a tuple of Unicode numbers for the letters 'a'
to 'z'.
That is, the resultant tuple should contain 97, 98, 99, 100,
101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
114, 115, 116, 117, 118, 119, 120, 121, 122, where 97, 98 .. are
the Unicode numbers of the letters 'a', 'b' .. etc..
Please choose the options that complete the blanks
correctly.
We are to create a tuple of Unicode numbers for the letters 'a' to 'z'. That is, the resultant tuple should contain 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, where 97, 98 ... are the Unicode numbers of the letters 'a', 'b'... etc.. Please choose the options that complete the blanks correctly. (1) tuple(code for code in range(cc_n) Select! ) if ord(a) = code <= ord®z) if ord(code) in "abcdefghijklmnopqrstuvwxyz" (2) tuple(code for code [ Select ] in range(ord('a'), ord(z)+1) in range(chr("a"), chr(z)+1) (3) tuple( (Select] for c in "abcdefghijklmnopqrstuvwxyz") ord(c) int(c)
We are to create a tuple of Unicode numbers for the letters 'a' to 'z'. That is, the resultant tuple should contain 97,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am