((ReFleXioN)) EteRNaL
RIP MR. SMOKE
yall will prolly laugh but i'm stuck on this codecademy python lesson. Conditionals & Control Flow(5/16).....this shyt got me stuck...not even sure what it's asking....looks like i'ma have to brush up on my math
yall will prolly laugh but i'm stuck on this codecademy python lesson. Conditionals & Control Flow(5/16).....this shyt got me stuck...not even sure what it's asking....looks like i'ma have to brush up on my math
yup. have no idea what to doAre you at the boolean section (5/16)?
yup. have no idea what to do
ok, after really focusing down, I was able to realize what it's asking. good looking. passed it. but I still feel like i'ma have to get up on my math. it's been so long.It's just asking you to read and continue.
The easiest way to remember "and" "or" result is this way:
with "and", both inputs need to be true so the result is true, otherwise it is false
with "or", both inputs need to be false so the result is false, otherwise it is true
think of having a variable called ageOfReflex
and ageOfReflex = 24
Now, I want to do something in the code if you happen to be older than 21 and younger than 30:
if( ageOfReflex > 21 and ageOfReflex < 30):
#do something here
We only do something if both conditions are true. If one of those conditions are not true, the if statement is false and we move on. In this case, ageOfReflex is 24, which is between 21 and 30 so we execute what's inside the if statement.
Now let's say I want to do something if you are younger than 20 or older than 30:
if( ageOfReflex < 20 or ageOfReflex > 30):
#do something here
Now, we do something if any of those two conditions are true. If both are false, the result is false and we move on without doing what you want to do. Since ageOfReflex is 24, it is not smaller than 20 or greater than 30, so we would never execute what we code in the if statement. If ageOfReflex was 33, we would execute it.
That's actually the language I started off with before I moved on to Javascript. It's being used a lot now in universities. Are you using version 2 or 3?
That would be .Okay....my biggest dream is to create an Dark African fantasy mmorpg with a technical set up like a browser based online multi-player that has minimal down-loading (like
Begone)..
......I know so many legends and morally ambiguous characters that can come from the African diaspora and I grow tired of cliche lore.....
That would be .
It's time to get started on this dream of yours and make it a reality
I dunno to much about game programming myself. But you gotta do your research....ugh ....but I do not know where to begin........... Its like I already have character and story design down..I just have to come up with tech know how
I dunno to much about game programming myself. But you gotta do your research.
Anyway what programming language are you coding in or learning to code in?
Okay....my biggest dream is to create an Dark African fantasy mmorpg with a technical set up like a browser based online multi-player that has minimal down-loading (like
Begone)..
......I know so many legends and morally ambiguous characters that can come from the African diaspora and I grow tired of cliche lore.....