I know this is a stupid thing to ask but can someone help me with my computer programing hw, i just need a program using python that creates a magic 8 ball, I will give moarrr details if someone actually wants to help. I will also do a favor for u depending what it is,
>>201851
>>201851
> i just need a program using python that creates a magic 8 ball
Sure! That's way easy. I just knocked one up in thirty seconds.
>computer programing hw
Ah.
I'm happy to help you with your homework, but I'm not gonna do it for you.
Go give it a try, and when you have a specific question, ask it here and I'll answer.
>>201935
I've been trying but desu I don't know much about python. pls help anon, I can't even start it. I'm stupid.
>>201940
did desu correct to desu? Did I accidentally type desu? Either way kek
>>201935
U must be a teacher, don't worry the class will never matter irl but if I get a bad score, it'll fuck my gpa.
>>201940
>>201941
Yeah, desu corrects to desu.
>>201940
>I've been trying but desu I don't know much about python
This is what your schoolwork is meant to be sorting out, no? No course has ever set homework it hasn't first explained how to learn to do.
>>201940
>I can't even start it.
Which OS?
If you can't get it set up, go use the version they provide in the lab.
>>201947
wait, are u my teachr?? why are u on 4ch?I have the pseudocode done. I just don't know syntax for Py. I meant desu corrected to desu.
desu =desu
Is there a switch case in python?
If so, random number gen, right?
>>201952
yes
t b h=desu
>>201952
>Is there a switch case in python?
Nope!
Python is a high-level language; you let the compiler write low-level control flow like that.
Make a list literal, then call random.choice() on it.
>>201956
I should just go back to /b/.