PYTHON -- More Math

PYTHON -- More Math

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

FLASHCARD QUESTION

Front

If your Python program will involve math functions, you'll need to ______________.

Back

import the math library

2.

FLASHCARD QUESTION

Front

Which of the following calls the square root function? Options: squareRoot, math.squareRoot, sqrt, math.sqrt

Back

math.sqrt

3.

FLASHCARD QUESTION

Front

%s and %f are known as ____________.

Back

format specifiers

4.

FLASHCARD QUESTION

Front

Use %s when you want to format your variable so it's appears as a ____________ data type.

Back

string

5.

FLASHCARD QUESTION

Front

Use %f when you want to format your variable so it's appears as a ____________ data type.

Back

floating number

6.

FLASHCARD QUESTION

Front

The console will display __________. (type exactly what appears)

Back

12.3457

7.

FLASHCARD QUESTION

Front

The console will display __________. (type exactly what appears)

Back

12.3456789

Create a free account and access millions of resources

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

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

Already have an account?