Question: this is python. can anyone help me to correct the code if the answer is right then print (good job) and ends the loop else:

 this is python. can anyone help me to correct the code
this is python.
can anyone help me to correct the code
if the answer is right then print ("good job") and ends the loop
else:
show (" try again") and countinue the question till gets correct answer.
and count how many time the person have tried
pls show me the correct code

main.py saved 1 print("Hello, World!") 2 person - input("Enter your name: ") 3 print('Hello', person,', Lets do some simple math) a=1 5 b-6 print("If you have 6 one dollar bills ") i- while i - e: Answer = input("How much do you have?") if int(Answer) - 6: print("Good Job!") Hello, World! Enter your name: 4. Hello 4, Lets do some simple math If you have 6 one dollar bills How much do you have? 35 ^ (0) * ENG T 10:18 2020/2/20

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!