So I got the free trial to keep me busy since I’ve been made redundant and to brush up on my python amongst other things.
I’ve been having a lot of problems with the lessons, not because I am struggling with the solutions but because I am creating what I feel are better solutions than needed and even when I dumb them down I am still met with various errors and can’t progress, such as below;
My answer for task 1 in the link above:
def greater_than(x, y):
if x == y:
print("These numbers are the same")
elif x > y:
print((str(x) + " is greater than " + str(y) + "."))
elif x < y:
print((str(x) + " is smaller than " + str(y) + "."))
now I’ve checked this code in Pycharm and even saved it as a script and been able to run it fine in cli yet I am met with error after error in the lesson, currently " Expected
greater_than with test inputs 7 and 3 to return 7" I can run the program, change the numbers yet this error still occurs only the input numbers change each time, even when using the number they claim were expected still returns the same error but changed the input numbers.
and since support can’t provide support for any code, I am pointed to these forums.
anyone else having these problems or have a solution to them?