'Python for Everybody' Chapter 6 - Strings (Solved Exercises)

preview_player
Показать описание

Here is the code for the solutions:

Make sure to check out my other tutorial series on Django:

Follow me on
Рекомендации по теме
Комментарии
Автор

Thanks for this. I got into trouble with a number of exercises where you had to extract a portion of a string. I was using (in your example) num = float(str[col_index+1:-1]) and of course, the last character was lopped off by the '-1'.

najmantube