Answer: Don't got three explanations don't know a lot but here.
Explanation:
"Citizen journalists cover crisis events using camera cell phones and digital cameras and then either publish their accounts on the Web, or exchange images and accounts through informal networks. The result can be news in real-time that is more local and informative."
A multi-core processor, i’m pretty sure
Explanation:
Given, the cost price of the TV is Rs 24600. Now, the cooler costs Rs 800 more than one-third of the TV. The cost price of the cooler is Rs 9000.
Answer:
The solution code is written in Python 3
- import random
- import string
-
- def simulate_several_key_strikes(l):
- char_set = string.ascii_lowercase
- return ''.join(random.choice(char_set) for i in range(l))
-
- print (simulate_several_key_strikes(10))
Explanation:
The program is aimed to generate random characters and the number of characters generated is dependent on user input. Hence, we will need to import the random module (Line 1). We also import string module so that we can make use of its associated method to generate English letters (Line 2)
Next, we create the function simulate_several_key_strikes that takes one single parameter, l, as input. Within the function body, we use ascii_lowercase method to generate the lowercase letter set and assign it to char_set variable (Line 5). We use random.choice method to randomly pick one of the letter in char_set and join it with an empty string (Line 6). Please note there is a for-loop that will repeatedly generate l-number of character and eventually return it as output.
We test the function by passing 10 as input parameter and we shall get a sample output as follows:
xuiczuskoj