print('Hello world')
print('welcome','to','python', sep='-')
print('Welcome '+ 'to '+'python')
print('Welcome '+ 'to '+'python') # adding string
id = 5
name = " Great Raju"
mark =45
#print(type(name))
name = 56
print("ID={:03}".format(id))
print(id)
print(name)
Removing line break at the end
print(id,end='')
print(name)
Adding format to Integer
print("ID={:03}".format(id))
id=4
print("ID={:.2f}".format(id))
for i in range(4):
print(i,end='')
print('hi')
print(" I am at end , outside the loop")
#printing a list , tuple
my_list=['One','Two','Three'] # A list
print(my_list) # ['One', 'Two', 'Three']
#printing a list , tuple
my_list=('One','Two','Three') # A tuple
print(my_list) # ('One', 'Two', 'Three')