I have been trying to remove the first two commas of a print statement and am having trouble doing this.<\/i>
print('\033[91m' + '\u274C', "Paragraphs contain unspecified font(s):" + '\033[0m', *invalid_font, sep=", ")
You can either, use two separate print<\/code> statements.<\/i>
print('\033[91m\u274C '
'Paragraphs contain unspecified font(s):'
'\033[0m', end='')
print(*invalid_font, sep=", ")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.