print 1 to 10 using while loop in c code example Example: how to print without space in python 3 >>> print("a","b","c") a b c >>> print("a","b","c",sep="") abc