price = 49
txt = "The price is {} dollars"
print(txt.format(price))
what is output ??
Quiz 4.1
Quiz
•
Computers
•
Professional Development
•
Hard
Mohand Mahmoud
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
price = 49
txt = "The price is {} dollars"
print(txt.format(price))
what is output ??
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
(1 2 3 4 5)
[1 2 3 4 5]
1 2 3 4 5
{1 2 3 4 5}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr)
print(type(arr))
array
tuple
list
all choices is wrong
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
import numpy as np
d = np.array([[[1, 2, 3], [4, 5, 6]], [[1, 2, 3], [4, 5, 6]]])
print(d.ndim)
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
import numpy as np
arr = np.array([[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]])
print(arr[-1, 0, -2])
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
import numpy as np
arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
print(arr[-2, -5] arr[0, 0] arr[1, 1])
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import numpy as np
arr = np.array([1, 2, 3, 4, 5, 6, 7])
print(arr[3:5])
[3 4 5]
[3:5]
[4,5]
all choices is wrong
16 questions
Examen de Numpy y Pandas
Quiz
•
Professional Development
20 questions
Java Quiz
Quiz
•
Professional Development
20 questions
Season 5 #Spaic Python Weekly Quiz
Quiz
•
KG - Professional Dev...
20 questions
Bertelsmann AI Track Quiz Initiative #3
Quiz
•
University - Professi...
15 questions
Foundations II. Challenge I
Quiz
•
Professional Development
16 questions
Fundamentals II. Final de módulo
Quiz
•
Professional Development
20 questions
Sorting - IV year
Quiz
•
Professional Development
16 questions
Think it through
Quiz
•
University - Professi...
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade