x = int(input("임의의 x를 입력하시오"))result = (2*x) +2print("")print("y는",result,"입니다")
3
임의의 x를 입력하시오 y는 8 입니다
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!