1) is used to take user input. By default, it returns the user input in form of a string. a) input() b) bug c) variable d) debug 2) prints the specified message to the screen, or other standard output device. a) randint b) casting c) debug d) print() 3) is a whole number, positive or negative, without decimals, of unlimited length. a) if-else b) random c) input() d) integer 4) is a process that converts a variable's data type into another data type. a) casting b) float c) library d) input() 5) s used to represent the truth value of an expression; True or False. a) boolean b) casting c) bug d) elif 6) is a function or reusable code in the Python programming language that converts values into floating point numbers. a) function b) float c) random d) library 7) is used to execute both the true part and the false part of a given condition. a) if-else b) print() c) randint d) elif 8) is short for "else if" and is used when the first if statement isn't true, but you want to check for another condition. a) integer b) elif c) casting d) operator 9) s a reusable chunk of code that you may want to include in your programs/ projects. a) import b) boolean c) randint d) library 10) is an in-built module of Python which is used to generate random numbers. a) if-else b) bug c) syntax d) random 11) returns an integer number selected element from the specified range. a) randint b) if-else c) integer d) ** 12) is a symbolic name that is a reference or pointer to an object. a) variable b) import c) casting d) arrays 13) the constructs which can manipulate the value of operands. a) operator b) if-else c) library d) print() 14) they are containers which are able to store more than one item at the same time. a) arrays b) function c) variable d) debug 15) works as an exponentiation operator. a) operator b) integer c) ** d) variable 16) used for referring errors or mistakes in a script. a) randint b) operator c) integer d) bug 17) a program that can help you find out what is going on in a computer program. a) debug b) casting c) arrays d) bug 18) keyword to make code in one module available in another by adding the library. a) randint b) bug c) library d) import 19) the set of rules that defines how a Python program will be written a) import b) function c) randint d) syntax 20) a block of code which only runs when it is called. a) random b) function c) elif d) syntax
0%
Python Dictionary | Quiz
共用
共用
共用
由
Sezinfins
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?