14 lines
589 B
R
14 lines
589 B
R
#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)
|
|
} |