QUIZ 3-无代写
时间:2024-10-01
QUIZ 3
COMP9021 PRINCIPLES OF PROGRAMMING
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
Incorrect input, try again!
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
89
Incorrect input, try again!
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
89~89
89 is the code point of a named character.
Enter a string:
Here are those of the characters under consideration
whose name starts with :
LATIN CAPITAL LETTER Y: Y
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
+10 ~ 9
Incorrect input, try again!
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
+10 ~ 10
10 is not the code point of a named character.
Date: Trimester 3, 2024.
2 COMP9021 PRINCIPLES OF PROGRAMMING
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
915 ~~ 916
Incorrect input, try again!
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
915 ~ 916
All numbers between 915 and 916
are code points of named characters.
Enter a string: GR
Here are those of the characters under consideration
whose name starts with GR:
GREEK CAPITAL LETTER DELTA: Δ
GREEK CAPITAL LETTER GAMMA: Γ
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
100 ~ 20
Incorrect input, try again!
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
20 ~ 100
Amongst the numbers between 20 and 100,
85.19% are code points of named characters.
Enter a string: lat
None of the characters you want me to consider
has a name that starts with lat.
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
20~100
Amongst the numbers between 20 and 100,
85.19% are code points of named characters.
Enter a string: LAT
None of the characters you want me to consider
has a name that starts with LAT.
QUIZ 3 3
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
20 ~ 100
Amongst the numbers between 20 and 100,
85.19% are code points of named characters.
Enter a string: LAT
Here are those of the characters under consideration
whose name starts with LAT:
LATIN CAPITAL LETTER A: A
LATIN CAPITAL LETTER B: B
LATIN CAPITAL LETTER C: C
LATIN CAPITAL LETTER D: D
LATIN CAPITAL LETTER E: E
LATIN CAPITAL LETTER F: F
LATIN CAPITAL LETTER G: G
LATIN CAPITAL LETTER H: H
LATIN CAPITAL LETTER I: I
LATIN CAPITAL LETTER J: J
LATIN CAPITAL LETTER K: K
LATIN CAPITAL LETTER L: L
LATIN CAPITAL LETTER M: M
LATIN CAPITAL LETTER N: N
LATIN CAPITAL LETTER O: O
LATIN CAPITAL LETTER P: P
LATIN CAPITAL LETTER Q: Q
LATIN CAPITAL LETTER R: R
LATIN CAPITAL LETTER S: S
LATIN CAPITAL LETTER T: T
LATIN CAPITAL LETTER U: U
LATIN CAPITAL LETTER V: V
LATIN CAPITAL LETTER W: W
LATIN CAPITAL LETTER X: X
LATIN CAPITAL LETTER Y: Y
LATIN CAPITAL LETTER Z: Z
LATIN SMALL LETTER A : a
LATIN SMALL LETTER B : b
LATIN SMALL LETTER C : c
LATIN SMALL LETTER D : d
$ python3 quiz_3.py
Please input two integers a and b with 0 <= a <= b <= 1114111,
both integers being separated by ~, with possibly
spaces and tabs before and after the numbers:
2 ~ 3
No number between 2 and 3
is the code point of a named character.