num1=int(input("ù¹ø° Á¤¼ö¸¦ ÀÔ·ÂÇϽÿÀ:"))
num2=int(input("µÎ¹ø° Á¤¼ö¸¦ ÀÔ·ÂÇϽÿÀ:"))
sum=num1+num2
print()
print(num1,"°ú",num2,"ÀÇ ÇÕÀº",sum,"ÀÔ´Ï´Ù.")
print("%d °ú %d ÀÇ ÇÕÀº %d ÀÔ´Ï´Ù"%(num1,num2,sum))
print(f"{num1} °ú {num2} ÀÇ ÇÕÀº {sum} ÀÔ´Ï´Ù")
print("{} °ú {} ÀÇ ÇÕÀº {} ÀÔ³ª´Ù" .format(num1,num2,sum))
print()
a=int(input("Á÷»ç°¢ÇüÀÇ °¡·Î ±æÀ̸¦ ÀÔ·ÂÇϽÿÀ:"))
b=int(input("Á÷»ç°¢ÇüÀÇ ¼¼·Î ±æÀ̸¦ ÀÔ·ÂÇϽÿÀ:"))
length=2*float(a)+2*float(b)
area=float(a*b)
print(f"Á÷»ç°¢ÇüÀÇ ±æÀÌ´Â {length} ÀÔ´Ï´Ù")
print(f"Á÷»ç°¢ÇüÀÇ ¸éÀûÀº {area} ÀÔ´Ï´Ù")