Question: 1)(15pts) 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

 1)(15pts) The code below was lovingly collected from a "bad code

1)(15pts) 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? 46 47 48 49 #create welcome screen def welcome(): 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 AND PASSWORD") elif un_entry.get()!="11" or pw_entry.get()!=' 2821': response=messagebox.showwarning( "this is my popup", "ENTER CORRECT USERNAME AND PASSWORD") 50 51 52 53 54 55 56 57 58 59 else: un_entry.destroy pw_entry.destroy() Login_btn.destroy 60 61 #add a welcome message my_canvas.create_text(160,450, text="WELCOME", font=("Helvetica",40), fill="white") 62 63

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!