Last answered:

17 Nov 2021

Posted on:

12 Nov 2021

0

Caesar cipher solution: 'NoneType' object has no attribute 'lower'

Please i tried decrypting this code as depicted in the attached. But i was having the C

AttributeError: 'NoneType' object has no attribute 'lower'

What does it mean.

Please where am i getting it all wrong





 image

3 answers ( 0 marked as helpful)
Instructor
Posted on:

15 Nov 2021

0

Hey Ashakah,

Thank you for your question!

Could you please show me what is written at the end of In [24]? Notice how the output of In [26] displays None in the end:
image.png
Kind regards,
365 Hristina

Posted on:

17 Nov 2021

0

Oh ok.

From the attached please reference the Output for [25] as it display exactly same statement from the code print(statement).

And why was it displaying "None"

Instructor
Posted on:

17 Nov 2021

0

Hey again Ashakah,

The code that I am able to see from the screenshot seems correct. My suggestion is to test the code on a shorter string and then try with a longer one.

Hope this helps!

Kind regards,
365 Hristina

Submit an answer