# a =10
# b ='가'
# print(a)
# a =20 #나이를 뜻하는 변수
# print(a)
# print("Bakjudamfoll")
# print("안녕하세요.")
# c = input()
# print(c)
# '''
# 여기안에 있으면 주석처리
# '''
#산술연산자
print(10+20)
print(10-20)
print(10*20)
print(20/10) #나누기
print(20%10) #나머지
print(20//10) #몫
a = int(input(10))
b = int(input(5))
print(a, "+", b, "=", a+b)
print(a, "-", b, "=", a-b)
print(a, "*", b, "=", a*b)
print(a, "/", b, "=", a/b)
print(a, "%", b, "=", a%b)
#문자여과 리스트
str ="abcdef"
list = [10, 15, 20, 25, 30, 35]
print(str[3])
print(str[3:6])
print(str)
print(list[:4])
To embed this project on your website, copy the following code and paste it into your website's HTML: