printing with sep=''
Print with sep:
from __future__ import print_function a,s,d,t,e = 22,33,44,55,66print(a,s,d,t,e) print(a,s,d,t,e, sep='*')
Result:
22 33 44 55 66 22*33*44*55*66
Explanation
'from __future__ import print_function'
The above line we are using to import the future supported function like sep=''.
Because this good option is not available in our current python versions.
Comments
Post a Comment