RESOLVED Python: String Formatting with % part 2


The code crashes after my third question input, and it seems to have a problem with the print line in line 5 just after the first %, some comma in the string. I followed the instructions, scanned the code, and cannot understand why it's crashing.



The placeholder needs a data type token:

%s  => string data

%d  => integer data

%f  => float data

%r  => representation (an object)


I thought they were pluralizing. Oof. Many thanks.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.