print('T','E','S','T', sep = '') print('2019', '02', '19', sep = '-')
가령 이 값을 intellij 에 넣어보면
TEST
2019-02-19 라고 나옵니다. 그러나 VSCode 에서 똑같이 넣어보면
이렇게 나옵니다.. 뭐가 잘못된지 모르겠습니다.
print('T','E','S','T', sep = '') print('2019', '02', '19', sep = '-')
가령 이 값을 intellij 에 넣어보면
TEST
2019-02-19 라고 나옵니다. 그러나 VSCode 에서 똑같이 넣어보면
이렇게 나옵니다.. 뭐가 잘못된지 모르겠습니다.
____________.♥. ____________.♥♫♥.____________.♥. * ____________.♥♫♥♫.______-.♥♫♥. * ____________.♥♫♥♫♥._-.♥♫♥♫. * _____________.♥♫♥♫♥♫♥♫♥♫♥. * ______-.♥♫♥♫♥♫♥♫♥♫♥♫♥. * _.♥♫♥♫♥♫♥♥♫♥♫♥♫♥♥♫♥♫♥. * . * ______-.♥♫♥♫♥♫♥♫♥♫♥♫♥. * . * . * .. ___________.♥♫♥♫♥♫♥♫♥♫♥. * . * . * .. ____________.♥♫♥♫♥._-.♫♥♫♥. * . *. * . * .. ____________.♫♥♫♥.______-.♥♫♥. * .* .. ____________.♥♫♥.____________.♥. * . *. _____________.♥ ╔══╗ ║██║ ║(O) ║♫ ♪ ♫ ♪ ╚══╝ ▄ █ ▄ █ ▄ ▄ █ ▄ █ ▄ █ Min- - - - - - - - - - - -●Max Google Employee Limited Edition (Larry Page & Sergey Brin Ver.) ==========================
Python 2.7.10 (default, Feb 22 2019, 21:55:15)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwinType "help", "copyright", "credits" or "license" for more information.
>>> print('2019', '02', '19', sep='-')
File "<stdin>", line 1
print('2019', '02', '19', sep='-')
^
SyntaxError: invalid syntax
Python 3.7.2 (default, Feb 12 2019, 08:15:36)
[Clang 10.0.0 (clang-1000.11.45.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print('2019', '02', '19', sep='-')
2019-02-19