QuestionQ128

VerifiedComputer Programming and Python Fundamentals

Arrange the code boxes in the proper order to create a line of code that prints the values assigned to x and y, with a semicolon (;) between them. Some code boxes will not be used.

Drag & Drop
x, y = 1.5, 3.8
Explanation

Python’s print function accepts multiple values as arguments, and sep=";" specifies a semicolon as the separator between those values.

Community Discussion

No comments yet. Be the first to start the discussion!