2+2
4
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-109-e2dd2846bf95> in <module>() ----> 1 hgfhrhfhfhjehjfhrhfbfjebhejfjrbbhiurgujh_fbfhuyfèujiuhefferhfiureyezjnfhjerhujeu_fhufe_fufhçèerguhfgyurèrnfhezkjgiuziefjvheiuroeruhg NameError: name 'hgfhrhfhfhjehjfhrhfbfjebhejfjrbbhiurgujh_fbfhuyfèujiuhefferhfiureyezjnfhjerhujeu_fhufe_fufhçèerguhfgyurèrnfhezkjgiuziefjvheiuroeruhg' is not defined
dico = open('dico.txt').read().splitlines()
def f(x):
if x % 2 ==0:
return x// 2
else:
return 3*x+1
for i in list= 1994
print(i, top[i]['title'])
File "<ipython-input-2-1c9c428fd8cd>", line 1 for i in list= 1994 ^ SyntaxError: invalid syntax
f()
10