You roll you create.
You roll you create
Other urls found in this thread:
(you)
roll
import random
if random.randint(0, 1):
print 'heads'
else:
print 'tails'
Roller
awfuckit
Rodando
No
Sounds fun. I'm gonna make it tomorrow though.
What does that mean? Someone explain or I'll go with this roll.
Roll
This is a visualisation of merge sort.
Rololllololol
zero intention of actually participating
bored2deathplsgiveproject
Thanks. I think I'm gonna go with my second one anyway, seems more exciting.
i={3: "fizz", 5: "buzz"}
for j in range(1,100):
k = True
l=""
for m in i:
if j % m == 0:
l += i[m] + " "
k=False
if k: print(j)
else: print(l)
pls no make your own chip8
WEW LAD ALMOST 78 :D
Roll
RoLling
k
rol
I'm already working on Conways game of life
def area(points):
#calculate the area of a convex polygon with shoelace formula
#inputs: list of tuple vertex points
xys = zip(*points)
xs = xys[0]
ys = xys[1]
area = 0
n = len(points)
for i range(n-1):
area = area + xs[i]*(y[i+ 1] - y[i -1])
area = area + xs[n-1]*(y[0] - y[n-2])
return 0.5*abs(area)
lets try this
rollin
roll
#include
#include
#include
#include
#include
#include
using namespace std;
vector loadEightballResponses(vector &responses)
{
string response;
ifstream inFile;
inFile.open("answers.ebl");
while(inFile)
{
getline(inFile, response);
if (!inFile.eof())
responses.push_back(response);
}
inFile.close();
return responses;
}
int main(int argc, char *argv[])
{
int responseIndex;
vector responses;
loadEightballResponses(responses);
string lol;
if (argc == 1)
{
cout
Ah, balls. I goofed.
rolling
one moar
rolling for something fun
ralgo
Hell, this could be fun
sproink
Roll
Rolling again...
import System.Random
main = do
(length, _) >= return . randomR (1,64)
password >= return . randomRs ('a','z')
putStrLn password
kill me
rollando again
Currently I am working on the Linux kernel but I can do one more project.
Better be in haskell
Also rolling
Already did that rerolling
rolling
Roll
>evaluate binomial coefficients
I mean I guess
Just to make it harder I decided to write it in lisp which I have never written in before in my life and just looked up the syntax of
(defun binomial (n k) (/ (! n) (* (! (- n k)) (! k))))
rollin' again
collie n | even n = n `div` 2
| otherwise = 3 * n + 1
--longest collatz under n
foo n = maximum $ map quux [1..n]
where quux g = length $ takeWhile (/=1) (iterate collie g)
>Love calculator
I don't know what that means
rollerooni
puts "Ey yo, enter a number you cuck: "
h = gets.chomp
h = (h.to_i < 8 ? 5 : (h.to_i/4))
puts "A".center(13)
puts "AAA".center(13)
["AAOAA", "AOAAAOA", "AAAOAOAAA", "AOAOAAAOAOA"].cycle(h) { |x| puts x.center(13) }
3.times do puts "XXX".center(13) end
...
roll
TRUMP
rollando aggerino
nope
again
>10010
>right now you have to add them but you add them two at a time
>So first you do 1 + 0
>10010
>Then 00
>10010
>And so on
What? That number didn't change at all
Haha, good luck..
i'd just need to learn gloss, fuck that there's no guide online
rollin'
Rollan
roll
I'll roll even though I'm a novice and half of this shit is greek to me.
Roll
rolando
print(open(__file__).read())
Delivering
#include
#include
#include
#include
#define NUM_WORDS 8
int main() {
char *wordlist[NUM_WORDS] = {"cuck","kek","tendies","pepe","wojak","gbp","roastie","chad"};
int tries = 3;
int found[10] = {0};
srand((unsigned)time(NULL));
int choice = rand() % NUM_WORDS;
printf("Okay, faggot. Let's see if you're qualified to post at /r9k/\n");
while (tries) {
printf("\n\nGuess the word from the robot dialect. You have %d tries.\n", tries);
bool foundAllLetters = true;
for (int c = 0; wordlist[choice][c] != '\0'; c++) {
if (found[c]) {
printf(" %c ", wordlist[choice][c]);
} else {
printf(" _ ");
foundAllLetters = false;
}
}
if (foundAllLetters) {
printf("\n\nYou're dat boi who have a special seat amongst robots. Kudos, senpai!\n");
break;
}
printf("\n");
char letter;
bool foundLetter = false;
printf("Type a letter: ");
scanf("\n%c", &letter);
for (int c = 0; wordlist[choice][c] != '\0'; c++) {
if (wordlist[choice][c] == letter) {
found[c] = 1;
foundLetter = true;
}
}
if (foundLetter) {
printf("\nYou found one letter! Good for you, faggot.\n");
} else {
printf("\nWrong choice, dumbass.\n");
tries--;
if (!tries) {
printf("\nYou're not ready for /r9k/. Lurk moar!\n");
}
}
}
return 0;
}
Sure
Gay. Rolling again.
~~
nah.. again
...
>for N00bz
I dont know what the fuck am I supposed to do
roll
ROLLING FOR c++
Ok hope python works
Rollin'
rollan
nope
roll
rolll
Roll
roll
fuck. If i can get code blocks to download on my old mac, sure.
thanks user :^3
Rellin'
roll
Roll
roll
here's the full code, too long to post
0x0.st
and godanm I'm playing it now and it works wrong lol
fuck it though, i'm not spending any more time on it
Drunk watching Mad Men. Answer in Swift:
var answerArray: [String] = [String]()
func decimalToBinary(var value: Int) -> [String] {
while value >= 1 {
if value % 2 == 0 {
answerArray.append("0")
value = value / 2
} else {
answerArray.append("1")
value = value / 2
}
}
if answerArray.count != 0 {
return answerArray.reverse()
} else {
return ["0"]
}
}
rollingen auf
roll
Rolling
roll
Rolleroni
how bout no
llor
Rolls
lets go