Given an integer N, print True if the digits 1, 2, and 3 exist in the integer N else print False.
An integer number
True or False
1213215648765446231356
True
999999999998412
False
94542122212166889798
False
152535
True
You could use the "find()" function in a string.
ID | User | Problem | Subject | Hit | Post Date |
1616 |
1652401-2@g....
(P6D14林建壹)
|
a109 | 94 | 2024-06-07 18:47 | |
1606 |
2158319-6@g....
(P6A37葉穎臻)
|
a109 | 98 | 2024-05-29 08:45 |