print’s keyword
argumentsWhich of the following is printed by:
print("B", "C", "D", "BR", sep="A")
What is printed by the following code?
print("Name: ", end="\n---\n")
print("Date:", end="\n---\n")What does the following program print?
a = 31
b = a // 4
c = (5 % b) - 1.0
print("a", a ** 0, sep=": ", end="; ")
print("b", b - 4, sep=": ", end="; ")
print("c", c * 2, sep=": ")2^0: 1
2^1: 2
2^2: 4
2^3: 8
2^4: 16
2^5: 32
2^6: 64
2^7: 128