asked
Getting Started with Programming: Introduction to Python (Inflearn Original)
How to use Python Print (1-2)
Written on
·
235
0
format 사용 부분에서 print('%s %s' % ('one, 'two'))로 적었을때 출력이 되지 않고 에러가 떠요
Answer 1
안녕하세요.
print('%s %s' % ('one', 'two'))
위의 코드처럼 e뒤에 작은따옴표로 닫아주셔야 합니다.
감사합니다.