Re: [Tutor] Python Code Not Working

2016-10-11 Thread D . V . N . Sarma డి . వి . ఎన్ . శర్మ
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? > >

Re: [Tutor] Python Code Not Working

2016-10-11 Thread Alan Gauld via Tutor
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.

[Tutor] Python Code Not Working

2016-10-11 Thread jeremygainey14
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):