Search Header Logo

python

Authored by sangamithrai L

Computers

9th Grade

Used 3+ times

python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Indexing of characters/items starts from

1

-1

0

9

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

which function is used to print the output?

input

print

eval

main

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To get the 5th character, what index should be used?

5

4

6

3

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To convert the first letter of the given string to uppercase , what function should be used?

upper()

isupper()

capitalize()

lower()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

This function checks if the given string contains only alphabets

isalnum()

isalpha()

isdigit()

upper()

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

This function used to convert the given string to lowercase

islower()

lower()

isalpha()

isdigit()

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

which function is used to convert the given string to uppercase

upper()

isupper()

lower()

isalpha()

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?