#nb # %% slideshow [markdown] {"slideshow": {"slide_type": "slide"}}
#md # # [Lecture 2 - Types and Functions](@id lecture2)
#!md # # [Lecture 2 - Types and Functions]
#
# **Essential Skills For Computational Biology**  
#
# *2020-06-08*  
#
# Kevin Bonham, PhD

#nb # %% A slide [markdown] {"slideshow": {"slide_type": "slide"}}
# ## A program is data and operations on data

#nb %% A slide [code] {"slideshow": {"slide_type": "fragment"}}
chromosomes = 23 # this is data

function diploid(n) 
    return n * 2 # this is an operation
end
#-
#nb %% A slide [code] {"slideshow": {"slide_type": "fragment"}}
diploid(chromosomes) # this is a program

##nb # %% A slide [markdown] {"slideshow": {"slide_type": "subslide"}}
# ## How to run a julia program
#
# - From the REPL
# - From a script (Live demo)
# - From a file inside VS Code (Live demo)

#nb # %% A slide [markdown] {"slideshow": {"slide_type": "fragment"}}
# [Placeholder for video link](#)
