Quiet Coding: Caesar's cipher in Python

preview_player
Показать описание
Create a function that takes a string s (text to be encrypted) and an integer k (the rotation factor). It should return an encrypted string. Example cesar("abz", 2) = "cdb". For this example, only translate alpha chars, and leave non alpha as is.

Disclaimer: the code presented in this video is spontaneous and may not be as pythonic, efficient and elegant as it could (should?) be. Always check Google and Youtube for alternative solutions!

Suscribe for more Python, Data Science and Machine Learning tutorial videos!

Recommended books:

Other tutorials and set-up info:
Рекомендации по теме
Комментарии
Автор

Small Request! :-) This is one of the first videos of the series -and my first videos ever recorded! Please, feel free to make any comment, critic, request or recommendation. I will consider your input and try to improve my content! Is it too long? too shallow? I speak too fast? is there anything you would change? Thanks and happy coding! Walter

pythonanalytics
join shbcf.ru