1-3 자료형 마스터!

신정빈·2022년 7월 3일
0

문자열, 정수ㅡ 실수, 불 자료형 변수를 하니씩 만들고 type() 함수를 이용해 자료형을 출력하기

name= "신정빈"
age = 20
nationality = "Korea"
height = 165.0
weight = 55.0
handsome = True
print(type(name))
print(type(age))
print(type(nationality))
print(type(height))
print(type(weight))
print(type(handsome))
profile
떠오르는 태양

0개의 댓글