Hi I need a better answer than what I came up with. Please help!
Write your own unique Python program that has a runtime error.
I need to know the code of my program, the output demonstrating the runtime error, including the error message, and an explanation on how to fix the error.
I did a very simple one and I know I will get laughed at. I am very new at coding, no platform what so ever so I need a little help from you please.My cheesy example is:
print (python)
The code of my program is : print (python)
Output:
Traceback (most recent call last):
File "C:/New folder/python/runtime practice.py", line 1, in <module>
print ( python )
NameError: name 'python' is not defined
>>>
In order for the code to properly work I will need to add parenthesis to ("python") so that the word is then defined. Now it will print as I asked.
Is this ok? Or can you help me to make a not so cheesy one?
1
Expert's answer
2019-12-04T07:05:26-0500
Dear Danielle, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment