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.
Answer:
couple.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
s1=[1,2,3]
s2=[4,5,6]
print(couple(s1,s2))
enum.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
def enumerate(s,start=0):
number_Array=[ i for i in range(start,start+len(s))]
return couple(number_Array,s)
s=[6,1,'a']
print(enumerate(s))
print(enumerate('five',5))
Explanation:
Answer:
1.
a = 1
b = 20(int). 20,2857143(double)
c = 39
d = 7.6
e = 456
2.
x = 98
y = 99
z = 97
w = ca
print(x,y,z,w) -> 98 99 97 ca
3.
x = Please
y = walk on the gras
Pleasewalk on the gras
Explanation:
you can use IDE/Interpreter python to get clue number 3 and number 2
Sorry for bad English.
Answer:
def leap_year_check(year):
return if int(year) % 4 == 0 and (int(year) % 100 != 0 or int(year) % 400 == 0)
Explanation:
The function is named leap_year_check and takes in an argument which is the year which we wish to determine if it's a new year or not.
int ensures the argument is read as an integer and not a float.
The % obtains the value of the remainder after a division exercise. A remainder of 0 means number is divisible by the quotient and a remainder other wise means it is not divisible by the quotient.
If the conditions is met, that is, (the first condition is true and either the second or Third condition is true)
the function leap_year_check returns a boolean ; true and false if otherwise.
Answer: Maintenance. This is the stage where software is updated and hardware issues are fixed if and when they occur. Retirement. In this final stage, hardware becomes unusable or no longer needed and it needs to be properly removed from the fleet
Explanation: