Загрузка...

Programming in Python - Palindrome strings

As I continue my course on programming in Python, I will post some of the exercises I`ve done or doing from problem sets. This time - two ways of defining palindrome function. First one involves for loop to construct reversed string and THEN compare it to initial string. Second version of isPalindrome function is much shorter and cleaner. Hope it`ll help someone out there :) ===================================== SUBSCRIBE FOR MORE: http://www.youtube.com/subscription_center?add_user=UC4_BmI7ztL9eJC4liCp0qjQ =====================================

Видео Programming in Python - Palindrome strings автора Python Мысли
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки