Answer:
The code will be in Python3
you will have to enter the number of employee data and it will display all the data entered in the correct format.
Explanation:
class Solution:
def __init__(self):
self.firstName=""
self.lastName=""
self.employeeID=0
def getData(self):
self.firstName=input("please enter your first name: ")
self.lastName=input("please enter your last name: ")
self.employeeID=input("please enter your ID: ")
def showData(self):
p="{}\t{}\t{}".format(self.firstName,self.lastName,self.employeeID)
return p
num=int(input("please enter the number of employee data you want to enter: "))
data=[]
for i in range(num):
t1=Solution()
t1.getData()
data.append(t1.showData())
for i in data:
print(i)
<span>A path in which electrons from a voltage or current source flow.
Hope this helps!
</span>
Answer:
lines = input("enter the lines of strings: ")
line_list = lines.splitlines()
with open("third_characters.txt", "w+") as file:
for line in line_list:
file.write(line[2])
file.write("\n")
Explanation:
The python module gets the input of string values from the user and splits it into a list of strings. The third character on each string item is retrieved and saved in a document file named 'third_characters.txt' with each character on a single line.
Open the program by double clicking the shortcut on your desktop or right clicking it and clicking the Run option.
Answer:A) Evil twin
Explanation: Evil twin is a type of attack that happens in the network. This behaves as the alias wireless access point(WAP) which appeals toward users to get connected with false hotspot to steal their personal information.This attack is based on the rogue hotspot .Barry has also faced a evil twin attack while passing by a building and getting his device connected with fake hotspot.
Other options are incorrect because war driving is searching for the internet connectivity while driving,blue snarfing is done with Bluetooth to steal personal data and replay attack in which the transmitted data is repeated in malicious way.Thus, the correct option is option(A).