Answer:
A. HTTPS
Explanation:
Default HTTP port is 80. This means that the server request is received on port 80. But default HTTP request is susceptible to interception. In order to prevent it, HTTP communication is secured using SSL encryption (HTTPS protocol). In this case the Url string begins with 'https://' which differentiates it from normal web request. The default port used for HTTPS service is 443 instead of 80.
(ii). the circumference of a circle.
Note:
(1). all the programs must allow the user to make his input .
(2).both programs must have both comment using the single line comment or the multiple line comment to give description to both programs.
Answer:
Perimeter:
{ \tt{perimeter = 2(l + w)}}
Circumference:
{ \tt{circumference = 2\pi \: r}}
Justinputthecodesinthenotepad
Answer:
I'm not exactly sure on what the question is, but from reading it, I determined that you'll be creating 2 different designs using Inkscape/Photoshop. I'm leaving 2 of my designs in here for you to use on your project. Unknown on what to do about the design that wasn't created in an image-editing program.
Answer:
The value of "x" is stored at "main memory".
Explanation:
Simply Central processing unit, input device and output device can not store the data.
The required code written in python 3 which returns the average of the strings in a list goes thus :
def average_strings(string_list):
#initializeafunctionnamedaverage_stringwhichtakesinalistofstringasparameter
total_length = 0
#initializetotallengthofstringto0
if len(string_list)==0:
#checksofthe stringisempty
return 0
#ifstringisemptyreturn0
for word in string_list :
total_length += len(word)
#addthelength ofeachstringtothetotallengthofthe string.
return total_length / len(string_list)
#returntheaveragevalue
A sample run of the function is given here and the output attached.
string_list = ['dog', 'cat', 'mouse']
print(average_strings(string_list))
Learn more :brainly.com/question/15352352
Answer:
def average_strings(lst):
total = 0
if len(lst) == 0:
return 0
for s in lst:
total += len(s)
return total / len(lst)
Explanation:
Create a function called average_strings that take one parameter, lst
Initialize a total to hold the length of the strings in lst
If the length of lst is 0, return 0
Otherwise create a for loop that iterates through the lst. Calculate the length of each string in lst and add it to total
When the loop is done, return the average, total length of the strings divided by length of the lst
Answer:
The program written in Python is as follows:
See Explanation section for line by line explanation
for n in range(100,1000):
isum = 0
for d in range(1,n):
if n%d == 0:
isum += d
if isum == n * 2:
print(n)
Explanation:
The program only considers 3 digit numbers. hence the range of n is from 100 to 999
for n in range(100,1000):
This line initializes sum to 0
isum = 0
This line is an iteration that stands as the divisor
for d in range(1,n):
This line checks if a number, d can evenly divide n
if n%d == 0:
If yes, the sum is updated
isum += d
This line checks if the current number n is a double-perfect number
if isum == n * 2:
If yes, n is printed
print(n)
When the program is run, the displayed output is 120 and 672
Answer:
C) X=40.24 Y=24.33 Z=20.75
Explanation: