0
I'm from mechanical background. Just explain me use of % sign in following code. This is a program to display exam schedule.
exam_st_date = (11,12,2014) print( "The examination will start from : %i / %i / %i"%exam_st_date)
1 Answer
+ 2
%d and %I are used as a placeholder for numeric or decimal values.
see the Python String Formatting Manual:
http://docs.python.org/2/library/stdtypes.html#string-formatting