Questions LLC
Login
or
Sign Up
Ask a New Question
Python
Page 4
Questions (402)
What is the main advantage of using python in web development
1 answer
asked anonymously
26 views
What is the primary advantage of python in word development
1 answer
asked anonymously
44 views
In python how is code structured enforced
1 answer
asked anonymously
94 views
What type of programming is python known to support
1 answer
asked anonymously
52 views
Which of the following statements will correctly assign the value "Yes, Please" to a variable named "more"?
Select one: a.
10 answers
asked anonymously
35 views
The line of code after a line beginning with the word else needs to begin with a(n):
(1 point) Responses print statement. print
1 answer
asked by
GIMMIE
150 views
The line after an if statement should begin with what?
(1 point) Responses # # a print statement a print statement a colon a
1 answer
asked by
GIMMIE
86 views
Which version of Python are you learning in this course?
Select one: a. 3 b. 1 c. Any version will work equally well d. 2
1 answer
asked anonymously
34 views
What is the output of calling n2.calculate()? class Addition: def __init__(self, f, s): self.first = f self.second = s def
1 answer
asked by
hatemaths
50 views
Activity: Cash Register
In this chapter, you learned about data types and variables that hold string, integer and floating-point
1 answer
asked anonymously
41 views
What is the output of calling n2.calculate()? class Addition: def __init__(self, f, s): self.first = f self.second = s def
1 answer
asked anonymously
37 views
The built-in Python function slice allows the programmer to select portions of the input that they want to slice out. It has two
1 answer
asked anonymously
49 views
Miranda is using Python 3 as a calculator and wants to divide 1374 by 3. What should Miranda type?
(1 point) Responses print
1 answer
asked anonymously
130 views
Jorge is using Python 3 as a calculator. Jorge wants to find the product of 321 and 408. What should Jorge type?
(1 point)
1 answer
asked anonymously
161 views
If you want the words “My puppy is a poodle” to appear in the output box, what Python code should you use?
(1 point)
1 answer
asked anonymously
153 views
Which of the following best describes the input() function?
Select one: a. Asks the user a question and returns a string answer
9 answers
asked anonymously
82 views
What error in this program needs to be fixed?
def sum(num1, num2): return num1 + num2 print(sum(4, 5.5, 6)) (1 point) The sum
1 answer
asked by
Blue
42 views
What text is displayed on output by the following statement?
print(str.format("#{0:4}#", "dog") ) Select one: a. #dog# b. dog c.
1 answer
asked anonymously
42 views
Jorge is using Python 3 as a calculator. Jorge wants to find the product of 321 and 408. What should Jorge type? (1 point)
print
1 answer
asked by
Connexus kid #1
57 views
If you want the words “My puppy is a poodle” to appear in the output box, what Python code should you use? (1 point)
1 answer
asked by
Connexus kid #1
43 views
The program below has multiple print() statements that display text on individual lines. Modify the print() statements (where
1 answer
asked anonymously
42 views
The program below should ask the user for their two favorite things and print them in messages. The print() statements are
3 answers
asked anonymously
34 views
The program below initializes 4 variables (season1, season2, season3, season4) and then uses them in a str.format() statement to
5 answers
asked anonymously
39 views
14 of 1514 of 15 Items
Question If you want the words “My puppy is a poodle” to appear in the output box, what Python code
1 answer
asked anonymously
88 views
The program below asks the user for 3 input values (name, age, place). You will add a str.format() call to build a message with
11 answers
asked anonymously
51 views
The program below initializes 4 variables (season1, season2, season3, season4) and then uses them in a str.format() statement to
11 answers
asked anonymously
52 views
fix this code
start_num = int(input("Enter the first number: ")) end_num = int(input("Enter the second number: ")) # Initialize
1 answer
asked by
joe
35 views
fix the syntax error
num1 = int(input("6: ")) num2 = int(input("8: ")) total = 21 for num in range(num1, num2+1): total += num
1 answer
asked by
joe
36 views
# Use for loop to add numbers
for i in range(start_num, end_num+1): num_sum += i
1 answer
asked by
joe
8 views
What will be printed to the screen when the following code is run?
favoriteColor = "blue" if (favoriteColor != "blue"):
1 answer
asked anonymously
33 views
in python, the symbol ! means not
True False
1 answer
asked anonymously
30 views
In Python, what does the choice function do?
1 answer
asked anonymously
24 views
In Python, what does the choice function do?
lets the user make a choice lets the programmer make a choice creates a new program
1 answer
asked anonymously
25 views
Which function produces a text in python language?
1.string 2.return 3.def 4.print
1 answer
asked anonymously
46 views
In Python, what does the choice function do?
(1 point) Responses lets the user make a choice lets the user make a choice lets the
1 answer
asked anonymously
106 views
Random.choice will choose a number between 1 and 100.
(1 point) Responses True True False
1 answer
asked anonymously
120 views
Which of these lines of code will generate a random number between 1 and 50?
(1 point) Responses input(“1-50”)
1 answer
asked anonymously
64 views
Maria is creating a game that will need a random number. Which line of code should be included in this program?
(1 point)
1 answer
asked anonymously
126 views
Which of these lines of code will increment a variable?
(1 point) Responses print(variable) print(variable) count(variable)
1 answer
asked anonymously
111 views
In Python, the symbol ! means not.
(1 point) Responses True True False
1 answer
asked anonymously
101 views
What is the term for words having different meanings and outcomes based on their capitalization within the Python language?
1.Fun
1 answer
asked anonymously
74 views
The built-in Python function slice allows the programmer to select portions of the input that they want to slice out. it has two
1 answer
asked anonymously
36 views
The line of code after a line beginning with the word else needs to begin with a (an)
A. print statement B. Indentation C. # D. :
1 answer
asked by
Kee
27 views
Mirembe created some code so that Python 3 can be used as a calculator to multiply 67 by 15. The code reads print 67 * 15 but
1 answer
asked anonymously
22 views
The following code is for a Python function to represent a recursive function to find the factorial of an integer def
1 answer
asked by
hatemaths
39 views
When a program written in Python is running, the computer can understand: (1 point) Responses the Python code, including
1 answer
asked by
kojejcciewhoiel
39 views
The line of code after a line beginning with the word else needs to begin with a(n)
(1 point) Oprint statement. Indentation. # :
1 answer
asked anonymously
22 views
Jorge is using Python 3 as a calculator. Jorge wants to find the product of 321 and 408.
What should Jorge type? (1 point A.
1 answer
asked anonymously
34 views
Mirembe created some code so that Python 3 can be used as a calculator to multiply 67 by 15. The code reads print 67 * 15, but
1 answer
asked anonymously
27 views
Which of the following is one of the tools used by a Python IDE that helps prevent syntax errors?
(1 point) • It adds color to
1 answer
asked anonymously
18 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