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
Math,
3 months ago
India Languages,
3 months ago
Social Sciences,
6 months ago
Math,
6 months ago
Social Sciences,
10 months ago
History,
10 months ago