*** shmohamud has quit (Ping timeout: 480 seconds) | 01:33 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 03:35 | |
*** fkoikoi has quit (Read error: Connection reset by peer) | 04:44 | |
*** fkoikoi has quit (Ping timeout: 480 seconds) | 09:47 | |
*** fkoikoi_ has quit (Quit: Leaving) | 10:33 | |
shmohamud | good day | 13:00 |
---|---|---|
scooper | Good morning shmohamud | 13:02 |
scooper | how is your daddy doing now???? | 13:03 |
shmohamud | he is still in the hospital, I'm going to check on him in a few hours | 13:03 |
scooper | I m wishing him speedy recovery from my end shmohamud | 13:04 |
shmohamud | thank you <3 | 13:04 |
fkoikoi | Good morning shmohamud | 13:04 |
shmohamud | good morning fkoikoi | 13:04 |
shmohamud | good day ** | 13:04 |
shmohamud | alright, so fkoikoi can you show us the homework? | 13:05 |
fkoikoi | yes | 13:05 |
shmohamud | let's see it | 13:05 |
fkoikoi | even = 100 | 13:05 |
fkoikoi | num = 1 | 13:05 |
fkoikoi | while num <= even: | 13:05 |
fkoikoi | if(num % 2 == 0): | 13:05 |
fkoikoi | print(num) | 13:05 |
fkoikoi | num = num + 1 | 13:05 |
shmohamud | good job. Did you run the code to see if it works? | 13:06 |
fkoikoi | yes I did | 13:07 |
shmohamud | wonderful. Scooper, can you show us what you wrote? | 13:07 |
scooper | ok | 13:08 |
scooper | even_number = 0 | 13:10 |
scooper | while even_number <= 100: | 13:10 |
scooper | print(even_number) | 13:10 |
scooper | even_number += 2 | 13:10 |
scooper | else: | 13:10 |
scooper | print("I m done Programmer!!") | 13:10 |
shmohamud | lol I appreciate the joke, but question: | 13:11 |
shmohamud | does the program even hit the else statement? | 13:11 |
scooper | in my programming??? | 13:11 |
shmohamud | yes, would it ever hit "I'm done Programmer!!" ? | 13:11 |
scooper | yes | 13:11 |
shmohamud | give me a moment to run the code myself. | 13:12 |
shmohamud | I thought you needed an if statement to use else statements, not a while loop | 13:12 |
shmohamud | it works! | 13:13 |
shmohamud | I learned something new today, thank you scooper and great job to both of you | 13:13 |
scooper | can I explain a little bit on my programming | 13:13 |
scooper | this will remember of discussion forum at UoPeople | 13:14 |
shmohamud | please explain | 13:14 |
scooper | this will remember me of discssuion forum at UoPeople | 13:14 |
scooper | the question say write a program that print from 0 to 100 with an even output right??? | 13:15 |
shmohamud | yes, print all even numbers between 0 and 100 | 13:15 |
scooper | in the while loop it say run the program it certain condition is true | 13:16 |
scooper | *if | 13:16 |
shmohamud | yes | 13:16 |
scooper | so looking at even_number is hold a value of zero | 13:16 |
scooper | which make the while loop to be true | 13:17 |
scooper | the next condition is checking to see whether even_number is less than or even to 100 | 13:17 |
scooper | so the loop will run from the first time??? to see if zero is less than 100 | 13:18 |
shmohamud | great question. | 13:18 |
shmohamud | when we run the code you wrote, does it ever print 0? | 13:19 |
scooper | yes | 13:19 |
shmohamud | if we move the line "even_number += 2" to be on top of the print(even_number) it will not print 0 | 13:20 |
scooper | should I continue or wait?? | 13:20 |
shmohamud | continue continue | 13:20 |
scooper | the second time if the loop run the output will be 2 because we update the first value zero to plus 2 which is increment variable | 13:21 |
shmohamud | correct | 13:22 |
scooper | This loop process will continue incrementing by two till it value be equal to 100 | 13:23 |
scooper | because of the comparison operator I have there <= | 13:23 |
shmohamud | until its value is greater than 100, because we have <= | 13:23 |
shmohamud | am I answering/understanding your question properly scooper/ | 13:24 |
shmohamud | ?* | 13:24 |
scooper | So the last block which is the else block will pop off it the loop is done.... | 13:26 |
shmohamud | yes, the else block will execute if the condition in the while loop is no longer true | 13:26 |
jelkner | hello, fkoikoi | 13:26 |
fkoikoi | Good morning Jeff | 13:27 |
jelkner | are you ready to talk about agenda items? | 13:27 |
fkoikoi | Yes | 13:27 |
jelkner | great | 13:27 |
fkoikoi | I send you a mail | 13:27 |
jelkner | ACTION goes to check his email | 13:28 |
fkoikoi | ACTION going to the restroom | 13:29 |
shmohamud | also going to the restroom | 13:29 |
scooper | hahhaah | 13:29 |
scooper | no we where just trying something | 13:30 |
jelkner | is fkoikoi away now? | 13:30 |
scooper | ACTION learning how Jeff can do this when even he is leaving........ | 13:30 |
fkoikoi | I'm here Jeff | 13:30 |
jelkner | LOL | 13:30 |
jelkner | let me show you something else | 13:30 |
fkoikoi | I was trying to do what you just did | 13:31 |
scooper | shmohamud we are still here | 13:31 |
fkoikoi | okay Jeff | 13:32 |
jelkner | and now you know how, yes | 13:33 |
jelkner | you use /me + messagwe | 13:34 |
*** shmohamud has quit (Remote host closed the connection) | 13:34 | |
scooper | ACTION waiting for Jeff or Shmohamud respond | 13:34 |
fkoikoi | +1 | 13:34 |
jelkner | another thing you can do is change your status with /away | 13:34 |
jelkner | here | 13:34 |
jelkner | do you notice that i changed to gray? | 13:35 |
fkoikoi | can i try it now Jeff? | 13:35 |
jelkner | click on my name | 13:35 |
jelkner | it will show you an away message | 13:35 |
jelkner | when i come back, i use /back | 13:35 |
jelkner | now i'm not away any more ;-) | 13:36 |
jelkner | anyway, let's talk about your email | 13:36 |
jelkner | nice email, fkoikoi | 13:36 |
jelkner | i do have one thing i think i need to correct | 13:36 |
jelkner | i'm using the "Social Justice Computing" in several different ways | 13:37 |
jelkner | which is probably confusing | 13:37 |
shmohamud | ACTION test | 13:38 |
jelkner | looks like you disconnected | 13:38 |
jelkner | are you here again? | 13:38 |
jelkner | fkoikoi, | 13:38 |
jelkner | or fkoikoi_ | 13:38 |
*** sysadmin_ has quit (None) | 13:38 | |
fkoikoi_ | I'm here again Jeff | 13:39 |
jelkner | try /nick fkokoi | 13:39 |
jelkner | to see if you can get rid of the underscore after your nick | 13:39 |
jelkner | did you try it? | 13:40 |
fkoikoi_ | yes jeff | 13:40 |
jelkner | i guess it didn't work | 13:40 |
jelkner | let's not waste time with that now | 13:41 |
fkoikoi_ | okay | 13:41 |
jelkner | anyway, where were we in our discussion of social justice computing? | 13:41 |
sysadmin_ | I m here follow with sysadmin | 13:41 |
sysadmin_ | *following | 13:41 |
jelkner | fkoikoi_ and scooper, it would help if you knew what a 501(c)3 organization is | 13:42 |
jelkner | why don't i make that your homework? | 13:42 |
*** scooper has quit (Ping timeout: 480 seconds) | 13:42 | |
sysadmin_ | I think I need to read on it | 13:42 |
sysadmin_ | you did mentioned at before | 13:42 |
fkoikoi_ | alright Jeff | 13:42 |
jelkner | if you go to my blog | 13:42 |
*** fkoikoi has quit (Ping timeout: 480 seconds) | 13:43 | |
jelkner | where i mention it, it is a link to wikipedia | 13:43 |
jelkner | let's talk tomorrow about that | 13:43 |
jelkner | step-by-step | 13:43 |
jelkner | each day i should leave you with something to investigate | 13:43 |
jelkner | and when we meet the next day, we can discuss it | 13:44 |
jelkner | so, tomorrow, come prepared to tell me what a 501(c)3 is, and why i want to start one here in Virginia this Summer | 13:44 |
jelkner | how will that help us in our Monrovia project? | 13:45 |
jelkner | see if you can figure that out | 13:45 |
jelkner | sound good? | 13:45 |
fkoikoi_ | +1 | 13:45 |
jelkner | awesome | 13:45 |
jelkner | let's talk again tomorrow | 13:45 |
fkoikoi_ | okay | 13:46 |
jelkner | unless you have something else, i'm going to return to computing end of year grades | 13:46 |
fkoikoi_ | so Jeff | 13:46 |
jelkner | yes, fkoikoi_? | 13:46 |
fkoikoi_ | what about the mail i sent you? | 13:47 |
jelkner | it was great | 13:47 |
jelkner | that's what lead to my homework | 13:47 |
fkoikoi_ | alright | 13:48 |
jelkner | in reading it, i believe there is not clarity around what i am proposing with Social Justice Computing, the 501(c)3 organization | 13:48 |
jelkner | so let's talk more tomorrow | 13:48 |
fkoikoi_ | okay | 13:48 |
jelkner | make sense? | 13:48 |
fkoikoi_ | +1 | 13:48 |
jelkner | your email was *very* helpful, fkoikoi_! | 13:49 |
jelkner | since i get a much better idea of what is clear and what is not clear | 13:49 |
jelkner | so we can focus on the areas that are not clear | 13:49 |
jelkner | we will continue tomorrow at the same time | 13:49 |
jelkner | anything else before i go? | 13:50 |
fkoikoi_ | okay Jeff | 13:50 |
fkoikoi_ | nothing for now Jeff | 13:50 |
fkoikoi_ | shmohamud? | 13:53 |
shmohamud | Hello | 13:53 |
fkoikoi_ | thought you left | 13:54 |
shmohamud | So, scooper have I answered your question about the while loop / else statement? | 13:54 |
shmohamud | nope, still here :) | 13:54 |
fkoikoi_ | okay | 13:54 |
shmohamud | was the homework easy, medium or hard fkoikoi? | 13:54 |
fkoikoi_ | It was a bit tough because I was having difficult time trying to get rid of the error message but thank God i did it | 13:56 |
jelkner | ACTION signs off for the day | 13:56 |
fkoikoi_ | after reading some books | 13:57 |
shmohamud | that's good, we want the homework to challenge you. Thanks for the feedback. | 13:57 |
*** jelkner has quit (Quit: Leaving) | 13:57 | |
shmohamud | Is scooper still there? | 13:57 |
sysadmin_ | +1 | 13:58 |
shmohamud | I have homework for today. I want you to use a for loop to display the numbers between -10 to -1 | 13:58 |
shmohamud | fkoikoi - do you remember any of the errors you got while doing the homework? | 13:59 |
shmohamud | that's the homework for both of you, for loop that displays -10 to -1 | 13:59 |
fkoikoi_ | alright | 14:01 |
sysadmin_ | ok thanks | 14:01 |
fkoikoi_ | thank you | 14:01 |
shmohamud | fkoikoi - do you remember any of the errors you got during the homework? | 14:01 |
shmohamud | also - scooper - was the homework easy, medium or hard? | 14:01 |
sysadmin_ | Shmohamud the assignment was alright.... That al I can say for now | 14:02 |
shmohamud | Ok, that's good feedback | 14:02 |
sysadmin_ | But I learned new thing while doing it | 14:03 |
shmohamud | the else statement? | 14:03 |
sysadmin_ | yes | 14:03 |
shmohamud | that's really cool. I didn't know it was possible until you shared! | 14:03 |
sysadmin_ | I got do that the same way you can use else in a try and except block with out if statement it can also work | 14:04 |
shmohamud | Ahhh, great job seeing the possibility | 14:04 |
sysadmin_ | I got to know that the same way you can use else in a try and except block without if statement it can also work | 14:05 |
shmohamud | very cool | 14:05 |
shmohamud | do you guys have any questions for me before we call it a day? | 14:05 |
sysadmin_ | no from my end but a few things I will like to say before you leave | 14:06 |
shmohamud | ok | 14:07 |
sysadmin_ | Since I have an encounter will you. you have push me to the extend to do more.... I never thought I could even do this | 14:07 |
sysadmin_ | Since you told me 80 percent of this work is thinking and 20 percent is writing code..... | 14:08 |
sysadmin_ | from that day, I read you questions carefully and think for a while before coding...... | 14:08 |
shmohamud | That warms my heart, scooper. Don't forget that you should be proud of yourself, too. You've made incredible progress and you're the one sitting down and putting in the effort! | 14:09 |
shmohamud | I'm just pointing you in the right directions, it's you that's making this happen. I'm confident we'll have professional work for you one day, until then, keep doing what you're doing now. | 14:09 |
sysadmin_ | Thanks and also keep giving more assignments that too will help | 14:10 |
shmohamud | Whenever you guys get discouraged, remember that you've come VERY FAR already. Your making VERY fast progress compared to when I first learned to code. Believe me, I'm not just saying this, I'm very impressed. | 14:11 |
shmohamud | Every day I'll leave an assignment :) | 14:11 |
sysadmin_ | Thanks shmohamud | 14:11 |
sysadmin_ | can you post a link for bitwise operator | 14:11 |
sysadmin_ | It's another operator that I came across that seem challenging.... | 14:12 |
shmohamud | bitwise operators: https://www.w3schools.com/python/gloss_python_bitwise_operators.asp | 14:12 |
sysadmin_ | Thanks | 14:12 |
shmohamud | you're welcome | 14:12 |
shmohamud | any final questions for the day? | 14:16 |
shmohamud | alright, well great job today guys. See you tomorrow | 14:19 |
sysadmin_ | ok | 14:19 |
*** shmohamud has quit (Remote host closed the connection) | 14:20 | |
*** fkoikoi_ has quit (Quit: Leaving) | 14:24 | |
*** shmohamud has quit (Remote host closed the connection) | 14:49 | |
*** shmohamud has quit (Remote host closed the connection) | 14:54 | |
*** shmohamud has quit (Remote host closed the connection) | 14:57 | |
*** sysadmin_ has quit (Ping timeout: 480 seconds) | 17:00 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!