나는 이렇게 학습한다/Algorithm & SQL

1228. Kata Example Twist

daco2020 2022. 12. 28. 22:49
반응형

This is an easy twist to the example kata (provided by Codewars when learning how to create your own kata).

Add the value "codewars" to the array websites/Websites 1,000 times.



Solution:

websites = ["codewars" for _ in range(1000)]
websites = ["codewars"] * 1000


반응형

'나는 이렇게 학습한다 > Algorithm & SQL' 카테고리의 다른 글

1230. The Wide-Mouthed frog!  (0) 2022.12.30
1229. Parts of a list  (0) 2022.12.30
1227. CSV representation of array  (0) 2022.12.27
1226. Alphabet war  (0) 2022.12.27
1225. Switcheroo  (0) 2022.12.25