#입력하기
var = input()
#자료형에 따른 형 변환
'''
정수 integer int()
실수 float float()
문자열 string str()
리스트 list list()
'''
a = '12345'
print(int(a))
money = input()
money = int(money)
print(money * 2)
#비교연산
print(3>2)
print(3<5)
print(3>=6)
print(3!=3)
#논리연산
#1. and: 둘 다 참이여야 참
#2. or: 둘 중 하나만 참이여도 참
#3. not: 결과를 뒤집는다.
#조건문 if문
#if 조건:
# 실행문
i = 3
if i == 3:
print("숫자 3입니다.")
else:
print("숫자는 3이 아닌 다른 것입니다.")
n = int(input())
if n < 0:
n = n*-1
print(n)
if n > 0:
print("양수")
elif n == 0:
print("0")
else:
print("음수")
score = int(input())
if score >= 88:
print("A+")
elif score >= 77:
print("A0")
elif score == 0:
print("F")
else:
print("B+")
num = int(input())
if num >= 1 and num <= 9:
print("한 자리")
elif num >= 10 and num <= 99:
print("두 자리")
elif num >= 100 and num <= 999:
print("세 자리")
else:
print("숫자가 너무 크다")
To embed this project on your website, copy the following code and paste it into your website's HTML: