This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import csv | |
def main(): | |
# verify user input | |
if len(sys.argv) != 3: | |
print("Usage: python dna.py data.csv sequence.txt") | |
sys.exit(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Implements a dictionary's functionality | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <string.h> | |
#include <strings.h> | |
#include <ctype.h> | |
#include "dictionary.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Implements a dictionary's functionality | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <cs50.h> | |
#include <string.h> | |
#include <strings.h> | |
#include <ctype.h> | |
#include "dictionary.h" |