Can you please answer these 5 questions? This is in python code so please answer in python code. This is in python code

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Can you please answer these 5 questions? This is in python code so please answer in python code. This is in python code

Post by answerhappygod »

Can you please answer these 5 questions?
This is in python code so please answer in python code.
This is in python code so please answer in python code.
Can You Please Answer These 5 Questions This Is In Python Code So Please Answer In Python Code This Is In Python Code 1
Can You Please Answer These 5 Questions This Is In Python Code So Please Answer In Python Code This Is In Python Code 1 (139.49 KiB) Viewed 78 times
Unanswered The lock manual says any value of 50 or greater will require the lock the turned 90 degrees clockwise. If it is not than it should be turned counter clockwise. Correct the following code segment: if (value > 50): else: Question 2 print("Turning print("Turning Counter-Clockwise")| 1 if (eye_patch 2 The lock will unlock if its value is 24. However if user has an eye patch or a peg leg it will not open when it is 24. Instead it will print out the message "You have an eye patch, come back later" or "You have a peg leg, come back later". 3 if (peg_leg 4 Clockwise") True): print("You have an eye patch, come back later") True): 5 elif (value 0/1 pts == == print("You have a peg leg, come back later") 24): print("You have unlocked the lock")
answered The lock is counting down how many times it takes until it turns itself off. If they put the wrong value in 10 times, the lock locks up. However, for some reason it is running forever. How can we fix this lock? 1 attempts = 10 while (attempts > 0): value = int( input("What value are you inputting?\n")) if (value == 12345): print("Correct! Unlocking") attempts += 1 56 Question 4 The lock is counting down from 5. However it is not ending correctly. How can we fix this: 1 for num in range(5, 1, -1): print (num) 2 0 / 1 pts
Unanswered Unanswered ◄ Previous Question 4 The lock is counting down from 5. However it is not ending correctly. How can we fix this: 1 for num in range(5, 1, -1): 2 print (num) Question 5 0/1 pts 2 for num in range(1,10, 2): 3 total = num 0/1 pts The lock verifies the numbers but adding the odd values from 1-10 together. However, something is broken in this code. Can you fix it? 1 total = 0 Quiz Score: 0 out of 5 Next ▸
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply