Search Header Logo

Python Quiz 3

Authored by AI Deveops

Information Technology (IT)

University

Used 1+ times

Python Quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quel est l'opérateur de concaténation pour les chaînes de caractères ?

+

.

&

,

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment convertit-on un nombre entier en chaîne de caractères ?

toString(42)

convert(42)

str(42)

string(42)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la syntaxe correcte pour importer un module en Python ?

#include math

import math

using math

require math

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment vérifie-t-on si deux variables sont égales en Python ?

x = y

x == y

x === y

x.equals(y)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quel est le résultat de 7 // 2 en Python ?

3.5

3

4

2

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?