Answer:
The answer to this question is option (a).
Explanation:
In the computer, all the data will store in a file that can be text file, image file, etc.
All the file store data into (binary language that is (0,1)). In Microsoft Word or any other word software, we add, delete or modify any text that stores in file. The software adjusts text location, memory, and breaks the pages automatically.
So the correct answer to this question is option (a).
Answer:
Web Services
Explanation:
<em>Web Services</em> is a technology that uses a set of protocols and protocols that serve to exchange data between applications. Different software applications developed in different programming languages, and executed on any platform, can use web services to exchange data on computer networks such as the Internet. Interoperability is achieved through the adoption of open openings.
Answer:
This is one of the efficient ways to find the number of occurrences of a given number in a list:
<h3><u>def find_num(arr,n):</u></h3><h3><u> return len([count for count in arr if count == n])</u></h3><h3><u>print(find_num([0,1,1,1,0],1))</u></h3>
If you want a simpler version, you can try this:
<h2><u>def find_num(arr,n):</u></h2><h2><u> count = 0 </u></h2><h2><u> for i in range(len(arr)): </u></h2><h2><u> if arr[i]==n: </u></h2><h2><u> count += 1 </u></h2><h2><u> return count</u></h2><h2><u>print(find_num([0,1,1,1,0],1))</u></h2>
This is the simplest method:
<h2><u>
arr = [0,1,1,1,0]</u></h2><h2><u>
print(arr.count(1))</u></h2>
I think I gave you enough examples. This should get you started off easily.
If you need an explanation, I am happy to help you. BTW I started python 6 months back so even I am pretty new to this.
Answer:
the recycle bin?
Explanation:
usually when you overwrite something or delete it, it doesn't get entirely deleted rather stored in the recycle bin on your desktop i believe, and so you could retrieve applications through there
Answer: Here you go, change it however you like :)
Explanation:
v = [24, 20, 29, 32, 34, 29, 49, 46, 39, 23, 42, 24, 38]
usr = int(input("Enter number: "))
print(f"Index: {v.index(usr)}") if usr in v else print(-1)