Final answer:
To print the sequence 1. A, 2. A, 3. A, 4. A, 5. A with the specified format, use a 'for' loop and the 'print()' function in Python, setting the range to 5. Use the 'end' parameter to specify the separator as ', ' and the 'sep' parameter to set a space as the separator before each 'A' in the print statement.
Step-by-step explanation:
To print the sequence 1. A, 2. A, 3. A, 4. A, 5. A with the specified format, you can use a 'for' loop and the 'print()' function in Python. Set the range of the loop to 5 to iterate five times.
Within the loop, use the 'end' parameter of the 'print()' function to specify the separator as ', '. Finally, use the 'sep' parameter to set a space as the separator before each 'A' in the print statement.
for i in range(1, 6):
print(i, '. A', sep=' ', end=', ')
The above code will produce the desired output: 1. A, 2. A, 3. A, 4. A, 5. A