
# Python 2 code for printing
# on the same line printing
# geeks and geeksforgeeks
# in the same line

import time
print("geeks"),
print("geeksforgeeks")

# array
a = [1, 2, 3, 4]

# printing a element in same
# line
for i in range(4):
    print('\t', a[i], end="end_spaces")
    time.sleep(1)
