1# This Python program must be run with
2# Python 3 as it won't work with 2.7.
3
4# by default, each string in print() will end in a new line
5# you can change this as below
6# ends the output with a <space>
7print("Welcome to" , end = ' ')
8print("GeeksforGeeks", end = ' ')
9
10#Output:
11Welcome to GeeksforGeeks
12
13# without the "end" keyword:
14print("Welcome to")
15print("GeeksforGeeks")
16
17#Output:
18Welcome to
19
20GeeksforGeeks