Python Forum
A bug in this program? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: A bug in this program? (/thread-4769.html)



A bug in this program? - OmarSinno - Sep-07-2017

Why do I not find any bugs in this program?
[Image: B0BTw9L]

Btw, I did this, correction?

[Image: 546MJrQ]


RE: A bug in this program? - Sagar - Sep-07-2017

Hey.. I can't even find a program to find a bug for you.


RE: A bug in this program? - j.crater - Sep-07-2017

Program is linked as an image ("Image"), although it doesn't look like a link. Preferred method to share code on this forum is by copying it in the post inside Python tags ("Insert python" icon in the edit menu).

If you followed the instructions of the task (write program to a file and run it), bug would reveal itself instantly =)

@OP Oh I see you have edited the post (again with linked image...). But yes, your solution looks ok, which you can easily verify yourself too.


RE: A bug in this program? - OmarSinno - Sep-08-2017

Oops!
It's something stupid so nevermind turned out I had already fixed the problem lol!


RE: A bug in this program? - nilamo - Sep-28-2017

Feel free to share, so other people with the same problem can figure it out, too.