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
the | |
day | |
is | |
sunny | |
the | |
the | |
the | |
sunny | |
is | |
is |
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
import sys | |
# Use two blank lines since the methods are defined in | |
# the global scope. Otherwise use one. | |
def populate_list(input_lines): | |
for input_line in input_lines: | |
input_line = int(input_line) | |
values_list.append(input_line) |