What is a correct syntax to output "hello world" in python

Python practice

Quiz
•
Computers
•
Professional Development
•
Easy
Shashi Weerasooriya
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p("hello world")
print ("hello world")
echo "hello world"
echo("hello world")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
#thi is a comment
/*this is a comment*/
//this is a comment
@this is a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is not a legal variable name?
my_var
Myvar
_myvar
My-var
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numerical value 5?
Both the other answers are correct
X=int(5)
X=5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for python file
.py
.pt
.pyt
.pyth
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the floating number 2.8?
Both the other answers are correct
X=2.8
X=float(2.8)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python?
print (type(x))
print(typeOf (x))
print (typeof(X))
print (typeof X)
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Python

Quiz
•
Professional Development
21 questions
Quiz 3.1

Quiz
•
Professional Development
16 questions
Основы языка

Quiz
•
Professional Development
20 questions
QUIZ-5 static, String and StringBuffer

Quiz
•
Professional Development
15 questions
Entrada e Saída de Dados e Variáveis

Quiz
•
Professional Development
19 questions
Python Basic

Quiz
•
Professional Development
17 questions
Python-básico1

Quiz
•
Professional Development
25 questions
python if-elif-else

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade