printing in single line in python code example Example: python print in one line print(item, end=" ")