Test your code!
test_your_code.exercise_1b(), the final is not allow or edit input any at (), if ctrl + enter, just give error message, all other step completed and pass
also not page display <IPython.core.display.Javascript object> and can not skip to exercise 2?
@PC_Services_Ltd
check in the previous exercise 1-a, where for code line is correctly mentioned with the year 1932 as the value of year_published.
Store the year `1932` the book was published as an integer
year_published
if yes, then try this approach, clear out your kernel output, reconnect the kernel, now run each cell again one by one till the exercise 1-b where you encountered this issue, your issue should resolve if your previous exercise 1 codes are correct as the codes for exercise 1-b you shared seemed correct.
Regards
Dr. Deepti
I am not sure what is your meaning?
Store the year `1932` the book was published as an integer
year_published
Exercise 1-A: Defining Variables- completed and display test pass
Exercise 1-B: Print Statements
I completed , and get expect result
Title: -----
Author: ----
Published: ----
Available Copies: —
issue on
Test your code!
test_your_code.exercise_1b() , if I leave () nothing and ctrl + enter will get
Failed test case: Missing printed information about year_published.
but () not allow I input any variable,
I suppose test_your_code.exercise_1b(ti…, auth…, pub…, ava…),
() should be call function to allow I input variables in (),
better way I capture full screen and sent to you will be quick to understand what issue I meet
please check your DM for my message
I clear out and reconnect and now pass but no [Exercise 2: Checking Out a Book display
event click the table is no respond
thanks support ,
can close case.
I give up all the work and restore original version.
impression of virtual lab are very unstable
sorry exercise 1 comprises of exercise 1-a and1-b, where your codes seem correct to me, and looks like with your reply that clearing out kernel output and re-running the codes passed the exercise 1-b unittest.
checking out a book is exercise 2 for which you need to write further codes.
any lab changes can cause such changes, especially one needs to let the lab load itself when connecting or clearing out kernel output. as you used the approach of completely restoring your work environment any unknown changes must have removed. you can go ahead and retry. please make sure to run cells individually and wait for cells to run the code completely and then only move to next section. any hurry can cause unnecessary issues in subsequent exercise with unit test or grader feedback.
Good luck!!!