#변수 : 값을 저장하는 상자
name = '담미'
print(name)

number = 2025
print(number)
number = 4050
print(number)
#변수에 저장된 값을 바꿀 수 있다

list1 = [1, 2, 3.5, 4, [7, 8, 9]]
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(???)

print('----문제3----')
money = 2000
print(money)
money = money + 1500
print(money)









Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: