Answer:
<em>Written in Python</em>
names= []
birthday = []
name = input("Name: ")
bday = input("Birthday: ")
for i in range(1,11):
names.append(name)
birthday.append(bday)
if name == "ZZZ":
break;
else:
name = input("Name: ")
bday = input("Birthday: ")
print("Length: ", end='')
print(len(names))
checknm = input("Check Name: ")
while checknm != "ZZZ":
if checknm in names:
ind = names.index(checknm)
print(birthday[ind])
else:
print("Sorry, no entry for name")
checknm = input("Check Name: ")
Explanation:
<em>The program is written in Python and I've added the full source code as an attachment where I used comments to explain difficult lines</em>
<em />
Answer:
The code is given below with necessary comments for understanding
Explanation:
#Open the input file.
infile = open("numbers.txt", "r")
#Declare and initialize the required variable sum
#to store the sum of integers read from the file.
sum = 0
#Declare and intialize a variable to store the current
#number read from the file in the integer form.
curNum = 0
#Traverse the input file using for loop.
for curLine in infile:
#Assign the number read from the file to the
#variable curNum in the integr form.
curNum = int(curLine)
#Add the numbers read from the file to the
#variable sum to get the sum of all the
#numbers read from the file.
sum += curNum
# Display the value of the variable runsum.
print(sum)
With this you just have to think about what do different shoes do and why? For example, track shoes need to be extremely light to make it so the runners don't need to move excess weight to accelerate faster whereas basketball shoes can be heavier because they need high ankle coverage for more ankle support during moves like the crossover. Then the key factors that I would do personally are: difficulty to produce, benefit to athlete, cost to athlete, weight, and support. My advice would be to systematically go through a bunch of sports and talk about each of their shoes...
The best way to let someone know you are leaving on an excursion with a boat is: by filing a boat plan.
A boat plan is also referred to as a sail plan or float plan and it can be defined as a paper document that outlines a traveler's itinerary and other important information while on water.
Generally, a boat plan comprises the following important information about traveler and the trip:
- Safety equipment on board
- Date and time of departure
- Number of persons on board.
Ideally, it is a good idea to ensure that you inform a friend or family before taking your boat out for an excursion. Also, the best way to accomplish this is to file a boat plan.
Read more on here: brainly.com/question/10339634
Answer: Time-domain reflectometer for copper cabling Optical time domain reflectometer for fiber-optic cabling
Explanation:
Time-domain reflectometer(TDR) is defined as the device that is utilized for locating and identifying any breakage and faults in circuit board, wires,connectors,metal cables or any path of electricity.
- It locates the discontinuation in metal wires such as coaxial cables with the help of time domain reflectometry.
Optical Time Domain Reflectometer (OTDR) is the electronic device that searches and locates faults and break in fiber optic cable.
- This specifically works for identifying disruption, loss and measurement of cable.
- Thus, for identifying the exact location of breakage in copper cable,time domain reflectometer can be used and for fiber optical cable, optical time domain can be used while troubleshooting.