I'm practicing for my finals, doing a task where I'm to assign a number to a spot in a row/column system. The suggested method of solving is this:
def readOneNumber():
row = int(input("Row (1-9): "))
col = int(input("Column (1-9): "))
num = int(input("The number (1-9): "))
print("Position ({:d},{:d}) now contains {:d}".format(row, col, num))
So I am specifically asking about the content of the print function. Does the {:d} part just mean a dictionary by the name of (row, col, num)?
I was wrong in my assumption that this was about dictionaries. It was actually a formatting tool
I'm sorry if this is a stupid question.