Hey so I was doing this course and then I tried doing the %s thing. So it worked for me all good in code academy but when I actually used in in python it didin’t work. The part that wasn’t working was the formatting at the end. It is outdated. First of all it is not raw_input it is input() and I don’t know this one but at the end of it when you say what fills in the %s it doesn’t work blank, blank. Anyone know it for python 3?
The Python track is version 2.7.x so nothing is outdated. There are still a couple more years before its end-of-life.
"%s" % variable
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.