The is_Prime one.
No error message, just a logic error. When I compile this code anywhere else nothing is wrong, but when I try to do so on the exercise it tells me that 5/2 = 2. (Again, when I run the exact same code somewhere else, anywhere that I have tried, all goes well.)
I expected it to tell me that 5/2 does not equal 2, and to return that 5 is a prime number like it does everywhere else.
#Print statements added for debugging purposes. def is_prime(x): a = True if x > 3: for n in range(2, x-1): print("Loop Start") if round(x/n) == (x/n): print (x, n) print (round(x/n), (x/n)) a = False elif x == 2 or x == 3: print ("Special Values") a=True else: print ("What's left?") a=False return a print (is_prime(5))