fork download
  1. x = int(input("임의의 x를 입력하시오"))
  2. result = (2*x) +2
  3. print("")
  4. print("y는",result,"입니다")
Success #stdin #stdout 0.02s 9296KB
stdin
3
stdout
임의의 x를 입력하시오
y는 8 입니다