What will the following code print? print("Hello", "World", sep="-")
2F-1 | Python Quiz | 14/10/2024

Quiz
•
Information Technology (IT)
•
University
•
Medium
Olzhas Toktassyn
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Hello-World
Hello World
Hello- World
Hello -World
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of these functions is used to get input from the user in Python?
print()
input()
int()
float()
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the result of 5 // 2 in Python?
2.5
2
3
2.0
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the end parameter in the print() function do?
Changes the default separator
Ends the program
Specifies what is printed at the end
Adds a new line at the end
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which operator is used for exponentiation in Python?
/
*
**
%
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the output of print(int(3.7))?
3
4
3.7
Error
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will print("A", "B", "C", sep="*") output?
A*B*C
ABC
A B C
A* B* C
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
แข่งขันcodingม.ต้น

Quiz
•
12th Grade - University
25 questions
G9-Introduction to Python Programming

Quiz
•
9th Grade - University
20 questions
Python

Quiz
•
University
15 questions
Join by Madi

Quiz
•
University
15 questions
Bài 28

Quiz
•
10th Grade - University
15 questions
Quiz Pemrograman Arduino

Quiz
•
10th Grade - University
15 questions
Python for loop/lists

Quiz
•
9th Grade - University
18 questions
Python Library Routines Quiz

Quiz
•
10th Grade - University
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