This file contains 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
// If levelling up makes it easier to get XP | |
const exponentialXPLevelling = (level, constant = 1) => level ** constant; | |
// If levelling up doesn't make it as easier to get XP | |
const levelGapXPLevelling = (level, constant = 1) => level**2 / constant; |
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
dna_sequence = input("Insert DNA Sequence: \n") | |
dna_sequence = dna_sequence.upper() | |
palindrome_length = int(input("Insert length of palindrome: ")) | |
matching = { | |
"A": "T", | |
"T": "A", | |
"C": "G", | |
"G": "C" | |
} |