Question: The comma allows you to add multiple arguments to the print statement. It basically lets you print them in succession, separated by a space. The
The comma allows you to add multiple arguments to the print statement. It basically lets you print them in succession, separated by a space. The comma will let you print multiple strings in one calling of the print function. By default, each string will be separated by a space. The print functions sep= parameter is used to separate the arguments with a character or space. sep= with two double quotes or two single quotes removes the spaces between arguments. Instructions: print "My favorite number is !" using commas to separate the arguments. Hint: Use the sep= parameter to remove the spaces. You will need to add an extra space after the word 'is'. ''' num = 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
