What is a correct syntax to output "Hello World" in Python??
Anonymous Quiz
94%
print("Hello World")
3%
p("Hello World")
2%
echo "Hello World"
1%
echo("Hello World")
👍1
What is output of following −
print("any".encode())
print("any".encode())
Anonymous Quiz
56%
‘any’
15%
‘yan’
24%
b’any’
6%
x’any’
What is the output of the following code?
print(type([1,2]))
print(type([1,2]))
Anonymous Quiz
16%
<class 'tuple'>
10%
<class 'int'>
6%
<class 'set'>
3%
<class 'complex'>
64%
<class 'list'>
👍2
Which of the following codes raises an exception?
Anonymous Quiz
23%
# test
47%
a = {1, 2, \ #comment 3, 4}
30%
a = {1, 2, #comment 3, 4}
