GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

What is the length of the following list?  misc = [1, ‘strin…

What is the length of the following list?  misc = [1, ‘string’, True, False, 22, [1,2,3]]

Read Details

How to obtain the word ‘greet’ from msg = ‘greetings’?

How to obtain the word ‘greet’ from msg = ‘greetings’?

Read Details

What is the outcome of the following code? >>> word = ‘NATIO…

What is the outcome of the following code? >>> word = ‘NATION’ >>> word.rstrip(‘N’)

Read Details

Suppose you are designing a simple grading system where you…

Suppose you are designing a simple grading system where you want to keep adding student scores. What kind of sequence will be most efficient to use?

Read Details

What is the content of months list at the end of the followi…

What is the content of months list at the end of the following code? >>> months = [‘January’, ‘March’, ‘December’] >>> months.extend([‘February’, ‘October’])

Read Details

How the content of t changes after the following assignment?…

How the content of t changes after the following assignment? >>> t = (1,2,3,10) >>> t[-1] = 100

Read Details

What is the outcome of the following operation? >>> ‘HI’ * 5

What is the outcome of the following operation? >>> ‘HI’ * 5

Read Details

Which of the following is False about immutable sequence?

Which of the following is False about immutable sequence?

Read Details

Which of the following is true for indexing in python?

Which of the following is true for indexing in python?

Read Details

What will be the outcome of the following operation? >>> num…

What will be the outcome of the following operation? >>> numbers = ’22 33 44′ >>> numbers.split()

Read Details

Posts pagination

Newer posts 1 … 37,650 37,651 37,652 37,653 37,654 … 83,421 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top