[python] set의 shet한 string auto concatenation
코드 test_set = {"1", "2", "3" "4", "5"} print("test_set: ", test_set) 상황 test_set: {'1', '5', '34', '2'} 3과 4사이에 ',' 콤마가 없는데 컴파일 에러가 안나고 지알아서 concat해버린다. 미친놈임 python에서 문자열은 위 처럼 콤마가 없으면 자동 concat이 된다.. https://stackoverflow.com/questions/18842779/string-concatenation-without-operator
2024.01.14