We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 6: Let's Review
Day 6: Let's Review
Sort by
recency
|
3397 Discussions
|
Please Login in order to post a comment
const strsplit = input.split("\n").slice(1); Day 6 lets Review in JavaScript
def string(s): even_char = s[::2] odd_char = s[1::2] return f"{even_char} {odd_char}" t = int(input()) for i in range(t): s = input() print(string(s))
My solution in C may not be the optimal one, but I enjoyed coding it