3. (Use of end parameter in print() function) Py t h o n p r o g r a m t o s h o w t h e u se o f e n d p a r a m e t e r i n p r i n t () f un c t io n . p r i n t ( ' S un da y ' , ' M o nd a y ' , en d = ' - ') print('Tuesday') print('Wednesday') OUTPUT : S u nd a y M o nd a y - T u e s d a y Wednesday 4. (Use of sep and end parameters together in print() function) print(‘sudha',’nmkrv',sep='',end='@') print(‘gmail.com') OUTPUT :
[email protected] 5. Python program to print integer and float data type values on the screen. a=10 b=20.32 print('a=',a,' b=',b,sep='',end='\n\n') print('a=',a,sep='') print('b=',b,sep='') b = 2 OUTPUT :a=10 a=10 b=20.32