Question: Please write the codes clear.. 3. Write a program that assigns the value 4 to the variable x, the value 2 to the variable and
3. Write a program that assigns the value 4 to the variable x, the value 2 to the variable and y then uses exactly three print function calls to generate the output below (four lines, with the second line blank). The print calls must use the variables x and y rather than the values 4 and 2. The trick is to change the assignment of the sep and end parameters in the call to print. The character 4 is the first character on the 1st, 3rd and 4th lines of output 4 2 4,2 42
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
