I am getting an error when i submit my answer it grades it as incomplete
prompt = f"“”
Write a complete, well-structured essay on the following topic:
{topic}
“”"
I am getting an error when i submit my answer it grades it as incomplete
prompt = f"“”
Write a complete, well-structured essay on the following topic:
{topic}
“”"
Thanks for reporting.
Have you tried the next code cell
# Test your code!
unittests.test_generate_draft(generate_draft)
which error are you getting there? sharing this error (screenshot) will be super useful.
Thanks!
Nothing happens when i add testing of code. I saved and run and nothing
Regarding to this first code shared, remember that Python is very strict about indentation. Did you test out the unit tests? they are in the same notebook! Just for checking before submitting the notebook for grading.
# Test your code!
unittests.test_generate_draft(generate_draft)
# Test your code!
unittests.test_reflect_on_draft(reflect_on_draft)
# Test your code!
unittests.test_revise_draft(revise_draft)