Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Python Programming
Quiz 1: Python Programming: Output and Data Types
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 41
Multiple Choice
What is the output of the following? X = ['ab', 'cd'] Print(len(list(map(list, x) ) ) )
Question 42
Multiple Choice
Program code making use of a given module is called a ______ of the module.
Question 43
Multiple Choice
What is the output of the following piece of code? #mod1 Def change(a) : B=[x*2 for x in a] Print(b) #mod2 Def change(a) : B=[x*x for x in a] Print(b) From mod1 import change From mod2 import change #mains=[1,2,3] Change(s)
Question 44
Multiple Choice
What is the output of the following program? Tday=datetime.date.today() Print(tday.month() )
Question 45
Multiple Choice
Which of the following formatting options can be used in order to add „n? blank spaces after a given string „S??
Question 46
Multiple Choice
What is the output of the following program? F = None For i in range (5) : With open("data.txt", "w") as f: If i > 2:break Print(f.closed)
Question 47
Multiple Choice
To read the entire remaining contents of the file as a string from a file object infile, we use
Question 48
Multiple Choice
Suppose t = (1, 2, 4, 3) , which of the following is incorrect?
showing 41 - 48 of 48
Prev
Next
Prev
1
2
3
Next
Related Quizzes
Previous slide
Next slide
Access For Free