more lectures
This commit is contained in:
14
03112022.R
Normal file
14
03112022.R
Normal file
@@ -0,0 +1,14 @@
|
||||
#Here's how to do stuff to the power of other stuff.
|
||||
une = 8^2
|
||||
#And how to do a factorial ([num]!)
|
||||
duex = factorial(100)
|
||||
#Excresice from slide with wee buggers. Also, this thing autocorrects comments. Wee shite.
|
||||
wee_buggers = factorial(6) * factorial(4)
|
||||
# This is a multiply ^ and it is important
|
||||
colorful_wee_buggers = factorial(4) * factorial(5) * factorial(6) * factorial(3)
|
||||
# That is the arrangement of the groups ^
|
||||
#Now, try being a bastard.
|
||||
vectroful_wee_buggers = c(4,5,6)
|
||||
for (wee_bugger in vectroful_wee_buggers) {
|
||||
print(wee_bugger)
|
||||
}
|
||||
Reference in New Issue
Block a user