Python 문자열 숫자인지 확인

1 개요[ | ]

Python 문자열 숫자인지 확인
Python
Copy
title1="HELLO World"
print(title1.isdigit())
title2="123456789"
print(title2.isdigit())
Loading

2 같이 보기[ | ]