An easier solution is simply to type 'print' in place of 'test' in the
program. It will work.
regards,
Sarma.
On Mon, Oct 10, 2016 at 2:09 AM, wrote:
> Everytime I run this it says test is not defined . I don’t understand. Can
> someone please help correct?
>
> #Question 10
>
> def reverse(mys
On 09/10/16 21:39, jeremygaine...@gmail.com wrote:
> Everytime I run this it says test is not defined . I don’t understand.
It means test is not defined - that is, Python doesn't know
about it. You call a function test() but there is no such
function built into Python, so it complains.
Presumabl
Everytime I run this it says test is not defined . I don’t understand. Can
someone please help correct?
#Question 10
def reverse(mystr):
reversed = ''
for char in mystr:
reversed = char + reversed
return reversed
def is_palindrome(myStr):
if myStr in reverse(myStr):