Answer:
string1 = "this is string 1"
string2 = " this is string 2"
print(string1 + string2)
Explanation:
the string1 variable is assigned with a string value(aka. str)
string2 is also a variable assigned with a slightly different string value
the 3rd line then prints string 1 and 2 to the console.
Answer:
When exposed to the powerful magnetic field of a degausser, the magnetic data on a tape or hard disk is neutralized, or erased. Degaussing is the guaranteed form of hard drive erasure, as such; it serves as the standard method of data destruction.
Explanation:
Answer: <u>Channel 16</u>. If you hear a MAYDAY call, remain silent, listen, and write down information about the boat in distress.
Hope this helps!
The access control list searches for patterns in the communication between different packets and responds to any assaults that are found.
<h3>What is the access control list?</h3>
An access control list searches for patterns in the communication between different packets and responds to any assaults that are found.
Based on the IP header data, such as the source or destination IP address, protocol, or socket number, an access control list filters traffic.
Thus, the access control list searches for patterns in the communication between different packets and responds to any assaults that are found.
Learn more about the access control list here:
brainly.com/question/13718195
#SPJ4
Answer:
Following are the code to this question:
def capital(val):#defining a method that takes string value as parameter
x=True#defining boolean variable
r=''#defining string variable
for i in val:#defining loop to convert the first character into upper case
if i.isalpha() and x:#defining condition to check input value is string
r=r+i.upper()#change value into uppercase and hold value in r variable
x=False#assign value false in boolean variable
elif i=='.' or i=='?' or i=='!':#check symbols
r=r+i#add value in r variable
x=True#assign value True in boolean variable
else:
r=r+i#add all value in r variable
return r#return r variable value
val=input()#input value in val variable
print(capital(val))#called the function which print the return value
Output:
please find the attachment.
Explanation:
- In the above python program, a method "capital" is declared, which accepts a "val" a string value in its parameter, and inside the method one boolean "x" and one string "r" variable is used, in which r stores return value.
- In the next step, for loop is declared, inside the loop, the conditional statement is used, in if the block it checks string value and converts the first character into upper case and assigns value false in the boolean variable.
- In the next step, elif block is defined that adds value in r variable and at the last, it will return function value, at the last step "val" variable is declared that input value from the user and pass into the method and print its return value.