Programming/Python & Data Structures
[Baekjoon/Python3] 17863번 FYI
HooNeee
2020. 12. 8. 18:12
[Baekjoon/Python3] 17863번 FYI
17863번: FYI
In the United States of America, telephone numbers within an area code consist of 7 digits: the prefix number is the first 3 digits and the line number is the last 4 digits. Traditionally, the 555 prefix number has been used to provide directory informatio
www.acmicpc.net
s = input()
if s[:3] == '555':
print('YES')
else:
print('NO')