Questions LLC
Login
or
Sign Up
Ask a New Question
Python
Page 8
Questions (402)
What will be the output of these lines of code?
for i in range (1, 5): print(i) (1 point) Responses IndentationError
1 answer
asked by
HELLOOOOOOOOOOOONURSE
51 views
What is the purpose of a try block in Python? (1 point) Responses to handle an error without the program crashing to handle an
1 answer
asked anonymously
17 views
Why would you choose to use the sys module? (1 point) Responses to generate random numbers to generate random numbers to access
1 answer
asked anonymously
31 views
What will be the output of these lines of code? for i in range (1, 5): print(i) (1 point) Responses IndentationError
1 answer
asked anonymously
29 views
Which of the following is the correct way to format a try block in Python? (1 point) Responses try { num = int(input("Enter your
1 answer
asked anonymously
44 views
What does sys.exc_info()[0] do? (1 point) Responses imports the sys module imports the sys module accesses the error log
1 answer
asked anonymously
30 views
Why would you choose to use the sys module?
(1 point) Responses to generate random numbers to access the deeper levels of Python
1 answer
asked anonymously
11 views
Which animal was responsible for a 99% drop in the opossum populations in the Everglades by 2012?(1 point)
Responses python
1 answer
asked anonymously
12 views
Which of the following variable names will NOT cause an error in Python?
(1 point) Responses first name first name 1stname
1 answer
asked anonymously
43 views
What problem is likely to occur when this line of code is used?
num1 = input(“Enter the first number: ”) (1 point) Responses
1 answer
asked anonymously
38 views
Why would you choose to use the sys module?
(1 point) A.to generate random numbers B.to access the deeper levels of Python such
1 answer
asked anonymously
17 views
Imelda wants to learn more about how to remove errors from Python programs easily. Which webinar is most likely to meet
1 answer
asked anonymously
17 views
Which of the following python functions could be modeled by the following recursive diagram?
1 answer
asked anonymously
17 views
Imelda wants to learn more about how to remove errors from Python programs easily. Which webinar is most likely to meet
1 answer
asked anonymously
10 views
Which of the following could you include in Python code to anticipate and catch an error? (1 point) Responses for loop for loop
1 answer
asked anonymously
31 views
Which of the following variable names will NOT cause an error in Python? (1 point) Responses first name first name 1stname
1 answer
asked anonymously
19 views
Imelda wants to learn more about how to remove errors from Python programs easily. Which webinar is most likely to meet
1 answer
asked anonymously
42 views
Which of the following is the correct way to format a try block in Python?
(1 point) Responses try { num = int(input("Enter your
1 answer
asked anonymously
15 views
what will be the output of these lines of code
for i in range (1, 5): print(1) indecation error print error 1234 12345
5 answers
asked anonymously
43 views
What is the purpose of a try block in Python?
(1 point) Responses to handle an error without the program crashing to handle an
1 answer
asked anonymously
29 views
The program below simulates the rolling of three 6-sided dice. A global rolls list is declared without any initial values. Each
1 answer
asked anonymously
10 views
Let's put your new function input and output skills to work. In this exercise, you are going to write a get_day_of_week()
1 answer
asked anonymously
7 views
```python
import pygame import sys import random # Initialize Pygame pygame.init() # Set up screen screen_width = 800
3 answers
asked anonymously
6 views
Which of the following is the correct way to format a try block in Python?
1 answer
asked anonymously
13 views
What is the purpose of a try block in Python?
A. to handle an error without the program crashing B. to try a math operation to
1 answer
asked anonymously
10 views
What does sys.exc_info()[0] do?
A. imports the sys module B. accesses the error log C. deletes the error log D. deletes the sys
1 answer
asked anonymously
7 views
When using Flask, what will the view function contain?
(1 point) Responses user input user input the IP address the IP address
1 answer
asked by
Shogun
4 views
As you know, in Python a string data type can hold a character, word, phrase, or longer stretches of text. You have learned how
1 answer
asked anonymously
7 views
As you know, in Python a string data type can hold a character, word, phrase, or longer stretches of text. You have learned how
1 answer
asked anonymously
6 views
As you know, in Python a string data type can hold a character, word, phrase, or longer stretches of text. You have learned how
1 answer
asked anonymously
5 views
How are individual characters in a string identified in Python?
A. By using curly brackets and index values B. By using square
1 answer
asked anonymously
6 views
What is the escape sequence for a new line character in Python?
A. \t B. \n C. \r D. \\
1 answer
asked anonymously
3 views
Which function in Python can be used to determine the length of a string?
A. size() B. count() C. length() D. len()
1 answer
asked anonymously
4 views
Which of the following statements about Python strings is true?
A. Strings are mutable and can be changed easily. B. Strings are
3 answers
asked anonymously
6 views
As you know, in Python a string data type can hold a character, word, phrase, or longer stretches of text. You have learned how
1 answer
asked anonymously
5 views
As you know, in Python a string data type can hold a character, word, phrase, or longer stretches of text. You have learned how
1 answer
asked anonymously
7 views
# Copyright CompuScholar, Inc.
# Do not distribute or post in any public or private venue. # Student Name import random # given
3 answers
asked anonymously
5 views
GOPS.py
# Copyright CompuScholar, Inc. # Do not distribute or post in any public or private venue. # Student Name import random #
1 answer
asked anonymously
3 views
Is it possible to program a 2D Tower Defense Game with Python?
43 answers
asked by
A10THUNDERBOLT
37 views
Fix this code
import random # given an input list of cards, shuffle them and return a new shuffled list def shuffle(deck): #
1 answer
asked anonymously
3 views
# Copyright CompuScholar, Inc.
# Do not distribute or post in any public or private venue. # ayant varadenhi import random #
5 answers
asked anonymously
2 views
Give several reasons why Python is such a great programming language. Explain how Python is related to flowcharts
1 answer
asked anonymously
4 views
# Copyright CompuScholar, Inc.
# Do not distribute or post in any public or private venue. # Adyant import random # given an
1 answer
asked anonymously
4 views
# Copyright CompuScholar, Inc.
# Do not distribute or post in any public or private venue. # Adyant import random # given an
11 answers
asked anonymously
6 views
import random
# given an input list of cards, shuffle them and return a new shuffled list def shuffle(deck): numCards = len(deck)
5 answers
asked anonymously
4 views
Which of the following variable names will NOT cause a error in Python?
A. first name B. 1stname C. @1name D. first_name
1 answer
asked anonymously
6 views
Why would you choose to use the sys module?
A. to generate random numbers B. to access the deeper levels of Python such as the
1 answer
asked anonymously
4 views
What is the purpose of a try block in Python? ( 1 point)
1 answer
asked anonymously
8 views
What does sys.exc_info() [0] do?
A. imports the sys module B. accesses the error log C. deletes the error log D. deletes the sys
1 answer
asked anonymously
4 views
What will be the output of these lines of code?
for i in range (1, 5) : print ( i ) A. IndentationError B. PrintError C. 1234 D.
1 answer
asked anonymously
4 views
Pages
1
2
3
4
5
6
7
8
9
Parent Categories (17)
Application Development
Coding
Coding/Programming
Computer Programming
Computer Science/Programming
Interpreted Languages
Invasive Species
Libraries
Programming
Programming Language
Programming Languages
Programming or Computer Science
Programming/Code
Random Number Generation
Reptiles
Software or Programming
Web Development