asked
Getting Started with Programming: Introduction to Python (Inflearn Original)
Python Variables (2-2)
Written on
·
190
0
그럼 개발자들은 print(300)으로만 쓰고 print(int(300))이라고는 안쓰는건가요?
print(300)을 쓰면 알아서 처리해준다는 뜻인거죠?
Answer 1
네 맞습니다.
형 변환이 필요한 경우 명시적으로 int() , str() 로 주로 사용해요~