WORKSHEET ON TEXT HANDLING IN PYTHON - 3

WORKSHEET ON TEXT HANDLING IN PYTHON - 3

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

BÀI 17

BÀI 17

9th - 12th Grade

10 Qs

ASAS SAINS KOMPUTER : TINGKATAN 3

ASAS SAINS KOMPUTER : TINGKATAN 3

4th Grade - University

12 Qs

Java Collection

Java Collection

12th Grade

10 Qs

Programação Front End - CSS avançado

Programação Front End - CSS avançado

11th Grade

10 Qs

Python Level 3 - Minecraft

Python Level 3 - Minecraft

5th - 12th Grade

11 Qs

Data Engineering y BigQuery V1

Data Engineering y BigQuery V1

12th Grade

10 Qs

Vertex AI Pipelines V1

Vertex AI Pipelines V1

12th Grade

10 Qs

WORKSHEET ON TEXT HANDLING IN PYTHON - 3

WORKSHEET ON TEXT HANDLING IN PYTHON - 3

Assessment

Quiz

Computers

11th - 12th Grade

Practice Problem

Hard

Created by

RANJITA SARKAR

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('{0:.2}'.format(1/3))

a) 0.333333

b) 0.33

c) 0.333333:.2

d) Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('{0:.2%}'.format(1/3))

a) 0.33

b) 0.33%

c) 33.33%

d) 33%

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('ab12'.isalnum())

a) True

b) False

c) None

d) Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('ab,12'.isalnum())

a) True

b) False

c) None

d) Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('ab'.isalpha())

a) True

b) False

c) None

d) Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('a B'.isalpha())

a) True

b) False

c) None

d) Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet?print('0xa'.isdigit())

a) True

b) False

c) None

d) Error

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?