barbarer / py4e-int

Python for Everybody - Interactive
GNU General Public License v3.0
4 stars 48 forks source link

Variable name error in 7.10 reading activity #164

Open debbieyuster opened 7 months ago

debbieyuster commented 7 months ago

The 7.10 reading starts with "Activity: CodeLens 7.10.1 (strParsing)". This exercise (strParsing) has a problem. The displayed code refers to a variable called spacepos, however all answers get marked as incorrect. The reason is that the .rst code for the exercise is checking the variable globals.sppos (not spacepos), and the exercise instructions also refer to sppos rather than spacepos. I'm not sure whether the correct name is spacepos or sppos, but presumably the name should be consistent throughout the exercise.