Question: //The code below was lovingly collected from a bad code forum. Using what we have covered so far from the code smells/clean code segments of
//The code below was lovingly collected from a bad code forum. Using what we have covered so far from the code smells/clean code segments of class, // what is wrong with this python code? # create welcome screen def welcomen(): if un_entry.get() =="username" or pw_entry.get()=='password' or un_entry.get()=="" or pw_entry.get()=='': } response=messagebox.showWarning("this is my popup","ENTER USERNAME ANO PASSWORD") elif un_entry.get()!="11" or pw_entry.get()!=' 2021': response=messagebox.showWarning("this is my popup","ENTER CORRECT USERNAME ANO PASSWORD") else: un_entry.destroy() pw_entry.destroy() login_btn.destroy() #add a welcome messaege my_canvas.create_text(100,450,text="WELCOME",font=("Helvetica").fill="while") Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
