GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

You run the code above 10 times, each time running the next…

You run the code above 10 times, each time running the next number from 1 to 10.  How many numbers would be printed?

Read Details

Based on the following code, how many numbers will be printe…

Based on the following code, how many numbers will be printed?

Read Details

A ________ is a sequence of characters enclosed within quota…

A ________ is a sequence of characters enclosed within quotation marks or apostrophes, and is Python’s data type for storing text.

Read Details

What is the output of the following code: “cien” “scien” “sc…

What is the output of the following code: “cien” “scien” “scie” “cie” “sci”

Read Details

We are given the following code. Fill in the blank:

We are given the following code. Fill in the blank:

Read Details

You have the string: x = ‘     hello     ‘ In order to conve…

You have the string: x = ‘     hello     ‘ In order to convert to  x = ‘hello’ which method do you use? x.______ strip() whitespace() elim() cut(‘ ‘)

Read Details

f-strings use curly brackets/braces True False

f-strings use curly brackets/braces True False

Read Details

How many times would the following be iterated?

How many times would the following be iterated?

Read Details

Which teams are printed out, how many times? All, one time e…

Which teams are printed out, how many times? All, one time each Each once: Yankees, Red Sox, Rays All, twice None

Read Details

dict1 = {‘cow’: 17, ‘chicken’: 88, ‘rooster’: 6} dict1[‘chic…

dict1 = {‘cow’: 17, ‘chicken’: 88, ‘rooster’: 6} dict1[‘chicken’] 88 error 6 17

Read Details

Posts pagination

Newer posts 1 … 44,613 44,614 44,615 44,616 44,617 … 93,912 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top