PYTHON QUIZ 1 11 Created on May 24, 2020 By Sirjana GhimireAcharya PYTHON QUIZ 1 1 / 10 1. What is a correct syntax to output "Hello World" in Python? print("Hello World") echo "Hello World" p("Hello World") echo("Hello World"); 2 / 10 2. How do you insert COMMENTS in Python code? //This is a comment /*This is a comment*/ #This is a comment 3 / 10 3. In Python 3, the maximum value for an integer is 263 - 1: False True 4 / 10 4. What is the output of the following code?for i in range(10, 15, 1):print( i, end=', ') 10, 11, 12, 13, 14, 10, 11, 12, 13, 14, 15, 5 / 10 5. What is the output of the followingx = 36 / 4 * (3 + 2) * 4 + 2print(x) 182 37 117 The Program executed with errors 6 / 10 6. In Python 3, what is the type of type(range(5)) int list range 7 / 10 7. What is the data type of print(type(10)) float integer int 8 / 10 8. What is the output of following code −[ (a,b) for a in range(3) for b in range(a) ] [ (1,0),(2,1),(3,2)] [ (0,0),(1,1),(2,2)] [(1,0),(2,1),(2,1)] [ (1,0),(2,0),(2,1)] 9 / 10 9. Which operator is right-associative * = + % 10 / 10 10. What is output of following codel = [1,2,6,5,7,8]l.insert(9) l=[9,1,2,6,5,7,8] l=[1,2,6,5,9.7,8] (insert randomly at any position) l=[1,2,6,5,7,8,9] Type Error Your score is The average score is 48% LinkedIn Facebook Twitter 0% Restart quiz