In Python, what symbol do you use to concatenate a string?

Python - Strings

Quiz
•

Lucy Stephenson
•
Computers
•
Professional Development
•
12 plays
•
Hard
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
*
-
+
/
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
fruit = "apple"
print (len(fruit))
2
3
4
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
message = "I love Computer Science!"
print (len(message))
21
22
23
24
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
homework = "Mrs Stephenson, can I have extra homework?"
print (len(homework))
12
22
32
42
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
colour = "Green"
print (colour.upper())
Green
GREEN
Syntax error
green
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
Subject = "Computer Science"
print (Subject.lower())
16
COMPUTER SCIENCE
computer science
Syntax error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
animal = "cat"
print (cat.lower())
CAT
cat
3
Syntax error
Answer explanation
Wrong variable name.
Incorrect
animal = "cat"
print (animal.lower())
Correct
animal = "cat"
print (animal.lower())
Explore all questions with a free account
Similar Resources on Quizizz
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
20 questions
Python Programming Fundamental

Quiz
•
Professional Development
20 questions
VCE TalentNext-2021 Quiz-2

Quiz
•
Professional Development
20 questions
Javascript Fundamental Practice

Quiz
•
Professional Development
25 questions
Java Basics

Quiz
•
Professional Development
20 questions
first round quiz

Quiz
•
Professional Development
22 questions
HiTech Quiz 6

Quiz
•
Professional Development
20 questions
Fundamentals I. Principio de módulo

Quiz
•
Professional Development
Popular Resources on Quizizz
17 questions
CAASPP Math Practice 3rd

Quiz
•
3rd Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
13 questions
Cinco de mayo

Interactive video
•
6th - 8th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
10 questions
4th Grade Math CAASPP (part 1)

Quiz
•
4th Grade
45 questions
5th Grade CAASPP Math Review

Quiz
•
5th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher

Quiz
•
Professional Development
11 questions
All about me

Quiz
•
Professional Development
10 questions
Simple Past Reading

Passage
•
Professional Development
15 questions
Trivia

Quiz
•
Professional Development
20 questions
General Trivia

Quiz
•
Professional Development
18 questions
The Earth

Passage
•
Professional Development
9 questions
Brain Teasers

Lesson
•
Professional Development
33 questions
Regular Spanish Verb Conjugations

Quiz
•
Professional Development