a = int(input()) ## 원의넓이
area = a**2*3.14
print(a,"**2*3.14 =", area)

a= int(input())
one = a%10
print(one)
a = a//10
ten = a%10
print(ten)
a=a//10
hun = a%10
print(hun)

a=int(input())
min=a//60
sec=a%60
print(min,":",sec)

weight=float(input("체중 kg단위로 입력"))
height=float(input("신장을 미터단위로 입력"))
bmi=(weight/(height**2))
print("당신의 BMI는 ", bmi,"입니다")

print(1==2) ##'='2개는 이퀄기호
print(int(1==2))## 거짓은 0 또한 부등호 기호중 작같, 크같에서등호 위치 주의!!!!!!!

x=int(input())
if x>=60:
    print("합격")
else:
    print("불합격") ##콜론 꼭 붙이기, if-else에서 들여쓰기 칸 맞춰야, if뒤에 괄호 없어도 됨

Embed on website

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