Question: Not sure what went wrong 3.1.5 Coding Exercise 1 (External resource) (o.0/3.0 points) Scope. ?? Submit Run Grades Reset 1 mystery value - -1 [Executed

Not sure what went wrong 3.1.5 Coding Exercise 1 (External resource) (o.0/3.0Not sure what went wrong

3.1.5 Coding Exercise 1 (External resource) (o.0/3.0 points) Scope. ?? Submit Run Grades Reset 1 mystery value - -1 [Executed at: Wed Aug 1 21:13:06 3 You may modify the lines of code above,but don't move theml PDT 2018] 4 When you Submit your code, we'1l change these lines to 5 #assign different values to the variables. We found one thing wrong with yo ur code: 7 #Notice that when you run this code, you encounter an error. 8 #Instead of this error , we want this code to print "Boo :(" 9 #(without the quotes) if mystery-value is not greater than 0. 10 # 11 #Pix this error WITHOUT modifying the existing code. You can 12 #fix this error by only adding some code before the existing 13 #code below 14 15 16 #Hake any changes or additions here ! 17 result- "Boo( It looks like you may have chang ed the required code. We expecte d to find the code below Cexactl y as shown) in your submission, but we didn't find it: if mystery_value > 0: ter than 0." else: print("mystery_value is grea 18 result"Yay!" 20 #Don't change any of the code below! 21 if mystery_value > 0: print(mystery value is greater than 0.") result-"Yay!" printC"mystery_value is less 23 24 else: 25 26 27 28 print (result) than 0." print(result) If you think this is a mistake, print ("mystery value is less than 0.") copy this text and paste it ove r the corresponding section of c ode in your file

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!