Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $RNAVirus="AUG UUU GUU UUU CUU GUU UUA UUG CCA CUA GUC UCU AGU CAG UGU GUU"
- $RNAVaccine="AUG UUC GUG UUC CUG GUG CUG CUG CCU CUG GUG UCC AGC CAG UGU GUU"
- $length=$RNAVirus.Length
- $result=@{}
- $resultantstring=""
- for ($i=0;$i -lt $length;$i++) {
- if ($RNAVirus[$i] -eq $RNAVaccine[$i]) {
- $result[$i]=" "
- }
- else {
- $result[$i]="!"
- }
- }
- $RNAVirus
- $RNAVaccine
- for ($i=0;$i -lt $length;$i++) {
- $resultantstring=$resultantstring+$result[$i]
- }
- $resultantstring
Advertisement
Add Comment
Please, Sign In to add comment