Kritika's computer teacher has given her an assignment to display the names of the fruits separated with a tab space in python . Which separator she should use with the print () function ?
Answers
Answered by
11
She should use the "\t" separator.
Example:
fruits = ["mangoes", "strawberries", "grapes"]
print(*fruits, sep = "\t")
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Political Science,
4 months ago
History,
4 months ago
English,
10 months ago
Biology,
10 months ago
Math,
10 months ago