@lclarkejhdf It's a good explanation, a bit wordy for a beginner, but a fine one. I'm a little hazy on Python since I haven't used it since April.
cin >> death
for (int counter = 0; counter < death; counter++)
If you really want to convert the string to and int, try (after "print(str1[3::])":
sum1 = "5"
print(int(sum1) + 2)
~Remember to convert the data type of the variable because you cannot add a string to an int.