name = input('your name:')
print('Hello', name)
결과
xh = input("Enter Hours:")
xr = input("Enter Rate:")
xp = float(xh) * float(xr)
print("Pay:",xp)
결과
'모두를 위한 Python 특화과정 > 20171047 김동훈' 카테고리의 다른 글
Programming for Everybody (Getting Started with Python)-7 (0) | 2022.07.19 |
---|---|
Programming for Everybody (Getting Started with Python)-6 (0) | 2022.07.19 |
Programming for Everybody (Getting Started with Python)-5 (0) | 2022.07.19 |
Programming for Everybody (Getting Started with Python)-3 (0) | 2022.07.19 |
Programming for Everybody (Getting Started with Python)-2 (0) | 2022.07.19 |