On the W3resource website there is a beginner exercise #10 which asks for the following:
Write a Python program to display the examination schedule. (extract the date from exam_st_date). Go to the editor exam_st_date = (11, 12, 2014)
Sample Output : The examination will start from : 11 / 12 / 2014*
in the sample solution the following code is given:
exam_st_date = (11,12,2014)
print( "The examination will start from : %i / %i / %i"%exam_st_date)
what does the %i
mean or do and how does it interact with tuples in python?