Werte werden nun in einem Dictonary abgelegt

This commit is contained in:
hubobel 2017-05-28 13:38:38 +02:00
parent 016e122488
commit 5c3d974f9b

View file

@ -29,7 +29,12 @@ def kodi(suchstring):
return (wert) return (wert)
return 0 return 0
eingabe = input("was: ") #Frage a = {"episode" : "","fanart" : "","file":"","label":"","season":"","showtitle":"","type":"","title":""}
for i in a:
wert = kodi(i)
a[i]=wert
print(a)
label = kodi(eingabe)
print(label)