computer science class xi outputs complete line and then moves to the next line for subsequent output the syntax for print(isobserve that plus sign does not add any space between the two strings while comma inserts space between two strings in print statement print(value [sep 'end '\ ']septhe optional parameter sep is separator between the output values we can use characterinteger or string as separator the default separator is space endthis is also optional and it allows us to specify any string to be appended after the last value the default is new line example statement print("hello"print( * print(" "love"my"country"print(" ' " "years old"output hello ilovemycountry ' years old the third print function in the above example is concatenating stringsand we use (plusbetween two strings to concatenate them the fourth print function also appears to be concatenating strings but uses commas (,between strings actuallyhere we are passing multiple argumentsseparated by commas to the print function as arguments can be of different typeshence the print function accepts integer ( along with strings here but in case the print statement has values of different types and '+is used instead of commait will generate an error as discussed in the next section under explicit conversion type conversion consider the following program num input("enter number and 'll double it"num num print(num the program was expected to display double the value of the number received and store in variable num so if user enters and expects the program to display as the outputthe program displays the following resultenter number and 'll double it -