subject

Suppose Mr. X wants to design an application using python to choose the question number randomly. He is having 10 questions and questions are labelled as 1,2,3..10. He wants to choose and display the question according to the random selection. The questions are stored in a list in the following format. Questions=['1. Who is the Chief Minister of Tamilnadu?', 2. Who is the Finance Minister of India?',]
If the random question number selection is 1 means the question to be displayed as "Who is the Chief Minister of Tamilnadu?" Design an application in python for the above mentioned scenario.
Hint: Use random module and functions to develop the above application.​

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 10:20
Suppose there is a relation r(a, b, c) with a b+-tree index with search keys (a, b).1. what is the worst-case cost of finding records satisfying 10 < a < 50 using this index, in terms of the number of records n1, retrieved and the height h of the tree? 2. what is the worst-case cost of finding records satisfying 10 < a < 50 and 5 < b < 10 using this index, in terms of the number of records n2 that satisfy this selection, as well as n1 and h defined above? 3. under what conditions on n1 and n2, would the index be an efficient way of finding records satisfying the condition from part (2)?
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
If you add the following to the query grid in an access query, what is it called? salestaxamt: [salestaxrate]*[totalsale] formula calculated field total calculation
Answers: 2
question
Computers and Technology, 24.06.2019 23:00
People should never use telepresence when virtually meeting with a group of co-workers. true false
Answers: 1
You know the right answer?
Suppose Mr. X wants to design an application using python to choose the question number randomly. He...
Questions
question
Mathematics, 10.02.2021 02:40
question
Social Studies, 10.02.2021 02:40
question
English, 10.02.2021 02:40
question
Mathematics, 10.02.2021 02:40
question
Mathematics, 10.02.2021 02:40
Questions on the website: 13722367