Exemple #1
0
def gets(file):
    line = file.readline()
    if line[-1] == "\n":
        line = line[:-1]
    return line
Exemple #2
0
def gets(file):
    line = file.readline()
    if line[-1] == "\n":
        line = line[:-1]
    return line