Answer:
Explanation:
The following code is written in Python. It continues looping and asking the user for an oligonucleotide sequence and as long as it is valid it outputs the reverse complement of the sequence. Otherwise it exits the loop
letters = {'A', 'C', 'G', 'T'}
reloop = True
while reloop:
sequence = input("Enter oligonucleotide sequence: ")
for x in sequence:
if x not in letters:
reloop = False;
break
if reloop == False:
break
newSequence = ""
for x in sequence:
if x == 'A':
newSequence += 'T'
elif x == 'T':
newSequence += 'A'
elif x == 'C':
newSequence += 'G'
elif x == 'G':
newSequence += 'C'
print("Reverse Complement: " + newSequence)
Answer:
1.
DIM myArray(10) as INTEGER
LET A = 0
FOR I = 1 TO 10 STEP 2
INPUT “INPUT NUMBER”; myArray(i)
LET A = A + myArray(i)
NEXT
PRINT A
END
2.
REM PROGRAM FOR CALCULATING THE SIMPLE INTEREST
CLS
INPUT “INPUT THE PRINCIPAL”; P
INPUT “INPUT THE TIME”; T
INPUT “INPUT THE RATE”;R
SI = P* T * R / 100
PRINT “SIMPLE INTEREST =”; SI
END
Explanation:
Please find the respective programs in the answer section.
The answer is B becausePower brakes are a system of hydraulics used to slow down or stop most motor vehicles. It uses a combination of mechanical components to multiply the force applied to the brake pedal by the driver into enough force to actuate thebrakes and stop a vehicle that can weigh several tons.
Answer:
putting your hands one the wheel, putting the car in gear, putting your foot on the brakes when you need to, and watch for cars when you're driving. hope it helps
Explanation: