type()

  • 자료의 ν˜•μ‹μ„ 확인 ν• λ•ŒλŠ” type() ν•¨μˆ˜λ₯Ό μ‚¬μš©

print(type("μ•ˆλ…•ν•˜μ„Έμš”")) # <class 'str'>
print(type(273)) # <class 'int'>

Last updated

Was this helpful?