python type

1
2
num = 1
print(type(num)) # <class 'int'>
  • 야매로 python 코드에 손을 대기 위해서 필요한 첫 번째 관문
  • 무슨 타입인지 알아야 구글링할 수 있다

파이썬 기본 자료형

  • bool
  • int / float
  • str
  • list
Author

chinsung

Posted on

2021-07-15

Updated on

2021-07-17

Licensed under

댓글