'why does the same code work on jupyter and fail on moodle
def q4():
s=input("Enter the string: ")
return s[::-1]
print(q4())
thanks in advance!
I tried this code on jupyter and it worked but when i switched to moodle it just failed
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
