Find outputs of the following commands in
Python:
(i) print("Hello")
(ii) print(2+3,34-67)
(iii) print("2+3,2+3)
(iv) print (2+3,2+3, sep=”=")
(v) print(2**3,3**2, sep='*')
(vi) print(2**3, 2**.3, -2**3, (-2)**3, sep=" and 7
Answers
Answered by
4
(i) Hello
(ii) 5 -33
(iii) 2+3 , 2+3
(iv) 5=5
(v) 8*9
(vi) File "<string>", line 8
print(2**3,2**3,(-2)**3, sep="and7"
^
SyntaxError : unexpected EOF while parsing
pls marks me as brainlist
Similar questions
Geography,
3 months ago
CBSE BOARD X,
3 months ago
Social Sciences,
3 months ago
Social Sciences,
6 months ago
Math,
6 months ago
Social Sciences,
11 months ago
History,
11 months ago