#변수 : 값을 저장하는 상자
name = '주현'
print(name)
number = 20250811
print(number)
number = 1008
print(number)
#변수에 저장된 값을 바꿀 수 있다
list1 = [1, 2, 3.5, 'a', [5, 6]]
print(list1)
'''
변수 이름 규칙
1. 알파벳, 한글, 숫자, _ 만 쓸 수 있다
2. 숫자로 시작할 수 없다
3. 파이썬 예약어(for, while, if 등)는 사용할 수 없다
4. 빈칸이나 특수문자는 사용할 수 없다
'''
print('----문제1----')
score = 50
print(score)
score = 90
print(score)
print('----문제2----')
apple = 5
banana = 3
total = apple + banana
print(total)
print('----문제3----')
money = 2000
print(money)
money = money + 1500
print(money)
To embed this project on your website, copy the following code and paste it into your website's HTML: