This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
π Morning 728 commits βββββββββββββββββββββ 39.1% | |
π Daytime 468 commits βββββββββββββββββββββ 25.2% | |
π Evening 93 commits βββββββββββββββββββββ 5.0% | |
π Night 571 commits βββββββββββββββββββββ 30.7% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def solution(s): | |
l = s.split(' ') | |
new_s = [] | |
for idx, s in enumerate(l): | |
for i, x in enumerate(s): | |
if i % 2 == 0: | |
x = x.upper() | |
else: | |
x = x.lower() | |
new_s.append(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cnn = Sequential() | |
cnn.add(Conv2D(1, (2,2), activation='relu', padding='same', input_shape=(10,10,1))) | |
cnn.add(MaxPooling2D(pool_size=(2, 2))) | |
cnn.add(Flatten()) |