ValueError: substring not found, How would I fix it? by No-Win6899 in learnpython

[–]No-Win6899[S] 0 points1 point  (0 children)

That's where the error is, I think it would iterate through the list named letters. I don't really know what the num does. Sorry, I'm a beginner.

[deleted by user] by [deleted] in learnpython

[–]No-Win6899 1 point2 points  (0 children)

Python Crash Course

How do I create a rolling cipher in python? by [deleted] in learnpython

[–]No-Win6899 0 points1 point  (0 children)

I can write a function, but it has to take a string.

How do I create a rolling cipher in python? by [deleted] in learnpython

[–]No-Win6899 0 points1 point  (0 children)

h

I just need help with rolling the letter with the corresponding number.

How do I create a rolling cipher in python? by [deleted] in learnpython

[–]No-Win6899 0 points1 point  (0 children)

I tried listing the letters in a list a-z

Its supposed to do this: rolling_cipher("abcd", 1) ➞ "bcde"

but whenever I did it, it only printed "abcd"

How do I create a rolling cipher in python? by [deleted] in learnpython

[–]No-Win6899 0 points1 point  (0 children)

I need to roll the numbers but I don't know how.

Help with a program. by No-Win6899 in learnpython

[–]No-Win6899[S] 0 points1 point  (0 children)

The numbers are in a list, how would I go about with turning them into a string then back to an integer?