[Tutor] error generating
prashant sahu
sahuprashant200101 at gmail.com
Thu Feb 18 21:50:52 EST 2021
print("learning dictionaries")
print("Geek Translator")
geek = {"404": "clueless. From the web error message 404, meaning page not
found.",
"Googling": "searching the Internet for background information on a
person.",
"Keyboard Plaque" : "the collection of debris found in computer
keyboards.",
"Link Rot" : "the process by which web page links become obsolete.",
"Percussive Maintenance" : "the act of striking an electronic
device to make it work.",
"Uninstalled" : "being fired. Especially popular during the
dot-bomb era."}
choice= 2000
while choice>4:
print(
"""
0- Quit
1- Look up a Geek term
2- add a geek term
3- Redifine a geek term
4- Delete a geek term
"""
)
choice= int(input("Choice: "))
if choice==4:
term= input("\nWhat term do you want me to delete___:")
if term in geek:
del geek[term]
print(term,"\nis no more in ur dictionary")
else:
print("chill buddy,,, this ",term," is already out of my
dictionary")
input()
when i am executing this code this is showing error massage like this:
"syntex error
Unindent does not match any outer indentation level"
please help me here
More information about the Tutor
mailing list