In a code:
a = 6
for i in range(a):
print("case #",i)
While printing the output, as shown below:
case # 0
case # 1
case # 2
case # 3
case # 4
case # 5
There is an extra space between '#' and the variable 'i'. How to remove this space? In fact, if we normally write:
a = 'sam'
print("hello",a)
then also, the output is:
hello sam
there is an extra space between "hello" and "sam". How to remove this?