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
const Page1 = { tabLabel: "Home", template: "<p>Home View Content</p>" }; | |
const Page2 = { tabLabel: "Food", template: "<p>Food View Content</p>" }; | |
const Page3 = { tabLabel: "Sports", template: "<p>Sports View Content</p>" }; | |
const Page4 = { tabLabel: "Video Games", template: "<p>Games View Content</p>" }; | |
const Page5 = { tabLabel: "Services", template: "<p>Services View Content</p>" }; | |
const Page6 = { tabLabel: "Music", template: "<p>Music View Content</p>" }; | |
const Page7 = { tabLabel: "Movies", template: "<p>Movie View Content</p>" }; | |
const OtherComponent = { template: "<p><em>This content is not mixed in with tab components</em></p>" }; |
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
import string | |
import random | |
model_genes = ['1','2','3','4','a','b','c','d'] | |
strand = len(model_genes)/2 | |
def female_code(size, chars=string.digits): | |
return list(''.join(random.choice(chars) for _ in range(size))) | |
def male_code(size, chars=string.ascii_lowercase): |