python

python

University

19 Qs

quiz-placeholder

Similar activities

UTS Perbaikan Pneumatik dan Hidrolik - Bagian A

UTS Perbaikan Pneumatik dan Hidrolik - Bagian A

University

20 Qs

Quiz Workshop Proteus 2 2025

Quiz Workshop Proteus 2 2025

University

18 Qs

ôn tập công nghệ 6 - HKII

ôn tập công nghệ 6 - HKII

6th Grade - University

21 Qs

LEVELLING FOR CIVIL ENGINEERING

LEVELLING FOR CIVIL ENGINEERING

University

20 Qs

Online Webinar by Krunal Talsaniya

Online Webinar by Krunal Talsaniya

University

20 Qs

Soal Pre Test CNC Lanjut (Turning)

Soal Pre Test CNC Lanjut (Turning)

University

20 Qs

5. Asientos Contables de Caja y Bancos

5. Asientos Contables de Caja y Bancos

University

20 Qs

Асинхронды қозғалтқыштар туралы тест

Асинхронды қозғалтқыштар туралы тест

University

19 Qs

python

python

Assessment

Quiz

Engineering

University

Practice Problem

Easy

Created by

Avakaza Technologies

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

19 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

1.      What will be the output of the following code?

x = 5

y = "5"

print(x + int(y))

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following expression?

print(2*3 **2)

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code?

s = "Python"

print(s[-2])

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What does the following code output?

s = "hello world"

print(s.title())

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code?

numbers = [10, 20, 30]

numbers.append(40)

print(numbers)

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the result of the following code?

lst = [1, 2, 3, 4, 5]

print(lst[1:4])

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the output of the following code?

d = {"a": 1, "b": 2}

print(d.get("c", 3))

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?