Answer:
lst=["H", "wor", "o w"]
s='Hello world'
contains = True
for i in range (0, len(lst)):
if not lst[i] in s:
contains = False
break
Explanation:
Above code works fine if you make sure that identation is correct.
Answer:
Below are the python Program for the above question:
Explanation:
keysList =[1,61,68,64]#key list items.
itemsList =[1,2,3,4]#item list items.
for x in range(len(keysList)):#for loop.
if(keysList[x]>60):#check the value to be greator.
print(itemsList[x],end=";")#print the value.
Output:
- The above code will print as "2;3;4;".
Code Explanation:
- The above code is in python language, in which the first and second line of the code defines a list. That list can be changed by the user when he wants.
- Then there is a or loop that scans the keylist items and matches the items that it is greater than 60 or not. If it then takes the location and prints the itemlist by the help of that location.
Answer:
1. From the command prompt, type:
pgp --encrypt "my-message.txt" --recipient "Sean" --output "secret-message.txt.gpg"
2. Press Enter.
Explanation:
From the command line, the above command is entered and Enter is pressed.
The command start with pgp, then it has different options:
--encrypt: this specifies the input file to be encrypted
--recipient: this specifies the specific user to which the file is been encrypted
--output: this specifies the name to which the output (encrypted file) is saved.
What are the answer choices if so can you please post it with answer choices ?
Answer:
Centrifugation.
Explanation:
When the liquid is spun rapidly, the denser particles are forced to the bottom and the lighter particles stay at the top. This principle is used in centrifugation.
Centrifugation can be defined as the process of separating particles from a liquid solution according to density, shape, size, viscosity through the use of a centrifugal force. In order to separate these particles, the particles are poured into a liquid and placed in a centrifuge tube. A centrifuge is an electronic device used for the separation of particles in liquid through the application of centrifugal force. Once the centrifuge tube is mounted on the rotor of the centrifuge, it is spun rapidly at a specific speed thereby separating the solution; denser particles are forced to the bottom (by moving outward in the radial direction) and the lighter particles stay at the top as a result of their low density.