*** shmohamud has quit (Ping timeout: 480 seconds) | 00:14 | |
*** shmohamud has quit (Remote host closed the connection) | 00:31 | |
*** shmohamud has quit (Remote host closed the connection) | 00:56 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 03:04 | |
*** scooper has quit (Remote host closed the connection) | 09:21 | |
*** sysadmin has quit (Quit: Leaving) | 10:44 | |
scoper | Good morning shmohamud | 12:58 |
---|---|---|
fkoikoi | Good morning shmohamud | 12:59 |
*** shmohamud has quit (Ping timeout: 480 seconds) | 13:05 | |
*** fkoikoi has quit (Remote host closed the connection) | 13:16 | |
scoper | Good morning Jeff | 13:18 |
jelkner | Good day, scoper | 13:18 |
jelkner | LOL, you're missing an "o" | 13:19 |
scoper | hhahaha the information is pass out already | 13:19 |
scooper | Thanks | 13:19 |
scooper | Never saw that at all | 13:19 |
fkoikoi | Good Morning Jeff | 13:20 |
jelkner | i'm reading over the irc log from yesteday | 13:20 |
jelkner | this is really cool how we are doing this! | 13:20 |
jelkner | it is easy and fast | 13:20 |
jelkner | i can check in easily and see what you discussed after i left | 13:21 |
jelkner | you talked about range() and for loops | 13:21 |
scooper | yes | 13:21 |
scooper | you are really following Jeff | 13:21 |
jelkner | it's easy, scooper, that's what i'm saying | 13:22 |
jelkner | https://irclogs.novawebdevelopment.org/%23novawebdev/2023-05-17.log.html | 13:22 |
jelkner | LittleWebster, we love you! ;-) | 13:22 |
jelkner | is Sahnun returning at 2 pm again today? | 13:23 |
scooper | Yes | 13:23 |
jelkner | super | 13:23 |
jelkner | can i help with anything between now and then? | 13:23 |
scooper | He said he will put in time as long as put in time too | 13:23 |
scooper | yes | 13:23 |
jelkner | +1 | 13:24 |
scooper | So yesterday I quiz on function and given an assignment on function as well | 13:25 |
scooper | The assignment say "Write a function that takes in | 13:25 |
scooper | two parameters, numA and numB, | 13:25 |
scooper | and return the result of them added together " | 13:25 |
fkoikoi | He thought me loops and also he me assignment | 13:25 |
scooper | The assignment is done already... | 13:26 |
scooper | Good morning tmickelson | 13:28 |
fkoikoi | Good morning tmickelson | 13:28 |
tmickelson | hello scooper and fkoikoi | 13:28 |
fkoikoi | How are you? | 13:28 |
tmickelson | how are you | 13:28 |
jelkner | scooper, are you working with tmickelson today? | 13:28 |
scooper | yes Jeff | 13:28 |
jelkner | also, do you have a Namecheap account yet? | 13:29 |
scooper | all do you have something JEFF | 13:29 |
scooper | FOR US | 13:29 |
scooper | YES | 13:29 |
scooper | +1 | 13:29 |
jelkner | sweet | 13:29 |
tmickelson | fkoikoi, im good | 13:29 |
jelkner | that should be the top priority for you and tmickelson today | 13:29 |
jelkner | we need to get that domain transferred to you | 13:30 |
jelkner | so that mcssliberia.org belongs to MCSS | 13:30 |
scooper | Ok Jeff | 13:30 |
tmickelson | scooper, my namecheap account is tobyMickelson | 13:33 |
scooper | OK and my is "SpencerGalaxy" | 13:33 |
scooper | How can we get this done??? | 13:34 |
tmickelson | click on the button that says manage next to the domain name | 13:36 |
tmickelson | then click on the tab that says share and manage | 13:36 |
tmickelson | then enter "tobyMickelson" into the box for new manager and click add | 13:38 |
scooper | I m in my NameCheap account: above I m seeing Domain, Hosting, Wordpress, Email etc | 13:39 |
tmickelson | Domain | 13:39 |
scooper | If I hover on Domain: I m seeing Domain Name Search, Domain Transfer, NEW TDLS etc | 13:41 |
tmickelson | there should be a sidebar on the left that lists Dashboard, Expireing/Expired, Domain list, hosting list, Private email, SSL Certs., Apps, and Profile | 13:42 |
tmickelson | click on Domain List | 13:42 |
scooper | Yes I m seeing that sidebar | 13:43 |
scooper | that include, Expiring/Expired, Domain List, Hosting List etc | 13:44 |
tmickelson | click on "Domain List" | 13:44 |
scooper | Yes I did it reading | 13:45 |
tmickelson | click on the button that says manage | 13:45 |
tmickelson | it should be on the right side of the name | 13:45 |
scooper | I m having bad net here | 13:46 |
scooper | it read but come back to the same area | 13:46 |
scooper | I click on "Domain List" it read but come back to the same place... | 13:47 |
scooper | In font Domain List Am seeing "Refresh" | 13:48 |
tmickelson | do you see a button that says "manage" | 13:48 |
scooper | I m seeing a button that say : Domain when click another option say all products | 13:49 |
tmickelson | below that button do you see a button that says manage | 13:50 |
scooper | No | 13:50 |
scooper | As the button where they have 'Go to Live Chat page" I m seeing several option | 13:51 |
tmickelson | do you see any domain names on this page | 13:51 |
scooper | This is where I m :https://ap.www.namecheap.com/domains/list/ | 13:52 |
*** scooper has quit (Remote host closed the connection) | 13:52 | |
tmickelson | sysadmin, that is the correct page | 13:54 |
scooper | It reading again | 13:55 |
scooper | please whole on | 13:55 |
scooper | SO what happening here is this, when the page load it come right back to "Domain List" Refresh | 13:56 |
tmickelson | do you see a bar that says: | 13:57 |
tmickelson | Domains Status Auto-Renew Experation | 13:58 |
scooper | No | 13:58 |
tmickelson | not on the top | 13:58 |
scooper | please send me your email let me send you a picture of where I m | 13:58 |
tmickelson | toby.mickelson@novawebdevelopment.org | 13:59 |
tmickelson | the bar should be about 10-15 cm from the top of the screen | 13:59 |
scooper | TOP: is Domain, Hosting, WorddPress, Email, Apps, Security, Transfer to Us Help Center etct | 14:00 |
tmickelson | below that | 14:00 |
*** scooper has quit (Read error: Connection reset by peer) | 14:04 | |
scooper | please check your mail | 14:07 |
scooper | tmickelson are you still there??? | 14:11 |
*** tmickelson has quit (Ping timeout: 480 seconds) | 14:16 | |
tmickelson | scooper, im back now | 14:22 |
scooper | Did you received the mail??? | 14:23 |
tmickelson | yes | 14:23 |
scooper | What have you observed??? | 14:23 |
jelkner | scooper, did Sahnun not show today? | 14:30 |
jelkner | I can call him. | 14:30 |
scooper | He will come | 14:30 |
jelkner | ok | 14:30 |
scooper | We need to exercise patience that all | 14:30 |
jelkner | i understand, but he won't mind a call | 14:30 |
scooper | I will appreciate if you do that | 14:31 |
scooper | for us | 14:31 |
shmohamud | Good day guys | 14:44 |
scooper | Good morning shmohamud | 14:45 |
shmohamud | How was the homework? | 14:45 |
scooper | fine | 14:45 |
shmohamud | please share the answer here | 14:45 |
shmohamud | I'm going to pour some coffee, I'll be right back | 14:46 |
scooper | def addingNumber (numA, numB): | 14:47 |
jelkner | scooper, let's all work off the PDF version of the book | 14:47 |
jelkner | so that we can refer to page numbers when we want to talk about it | 14:47 |
jelkner | you have the PDF, yes? | 14:47 |
scooper | total = numA + numB | 14:48 |
scooper | return total | 14:48 |
scooper | print(addingNumber(5,4)) | 14:48 |
*** scooper has quit (Read error: Connection reset by peer) | 14:48 | |
jelkner | fkoikoi, can you answer my question? | 14:48 |
jelkner | do you have the pdf of the book on your local computer? | 14:48 |
fkoikoi | which book Jeff | 14:49 |
shmohamud | scooper - that looks great. Well done. | 14:49 |
fkoikoi | Jeff? | 14:54 |
jelkner | http://do1.dr-chuck.com/pythonlearn/EN_us/pythonlearn.pdf | 14:54 |
jelkner | i was searching for the URL, fkoikoi | 14:54 |
jelkner | scooper, i just pushed a new directory into our study repo:https://git.mcssliberia.org/python-team/PythonStudy/src/branch/main/PY4E/ch02 | 14:55 |
fkoikoi | yes I have it on my computer | 14:55 |
jelkner | great fkoikoi | 14:55 |
scooper | Thanks Jeff | 14:55 |
scooper | I will check later when I m done with Shmohamud | 14:55 |
jelkner | +1 | 14:56 |
jelkner | ok, i gotta go | 14:56 |
jelkner | you're in good hands, scooper | 14:57 |
jelkner | see you tomorrow | 14:57 |
jelkner | ACTION signs off | 14:57 |
*** jelkner has quit (Quit: Leaving) | 14:57 | |
shmohamud | Ok, so I've seen the textbook and chapter two is variables, expressions and statements. | 14:57 |
shmohamud | chapter 3 is conditionals. So, we've skipped around a bit. | 14:58 |
shmohamud | Do you guys want to continue the same we have the last two days, or follow the textbook more carefully? | 14:58 |
shmohamud | How about we do a combination? Chapter 2 starts with values and types - two crucial concepts | 15:01 |
shmohamud | Can each of you write one value and its type here for me to see? | 15:02 |
*** scooper has quit (Ping timeout: 480 seconds) | 15:03 | |
fkoikoi | Spencer Computer went off | 15:04 |
shmohamud | Ok, no worries. Want to wait for him? | 15:05 |
shmohamud | All good yet? | 15:13 |
fkoikoi | not yet | 15:15 |
fkoikoi | I don't think he will be back | 15:15 |
fkoikoi | because no electricity | 15:15 |
shmohamud | Ok | 15:16 |
shmohamud | Shall the two of us have a session? | 15:16 |
shmohamud | are you guys in the same room? | 15:16 |
fkoikoi | yes but my computer will soon go off too | 15:17 |
shmohamud | Ok, have you finished the homework? | 15:17 |
shmohamud | "write me a loop that has an if statement in it" | 15:18 |
*** fkoikoi has quit (Quit: Leaving) | 15:21 | |
*** sysadmin has quit (Quit: Leaving) | 15:22 | |
scooper | Hello shmohamud | 15:23 |
scooper | how are you doing | 15:23 |
shmohamud | Hello scooper, I'm good how're you? | 15:23 |
scooper | better now | 15:24 |
shmohamud | cool | 15:25 |
shmohamud | is fkoikoi going to be back? | 15:25 |
scooper | Sorry there is a electricity problem so I have to leave where I where | 15:26 |
scooper | no | 15:26 |
scooper | She too is faced with the same electricity problem | 15:26 |
shmohamud | ok | 15:26 |
shmohamud | so, did you do the homework I assigned yesterday? | 15:26 |
scooper | I have to leave the office to fine electricity connection | 15:26 |
scooper | yes | 15:27 |
shmohamud | I understand, I'm glad you're putting in the effort to learn. I'm here for you as long as you're putting in the work :) | 15:27 |
*** scooper has quit (None) | 15:27 | |
scooper | Yes I did the work | 15:28 |
shmohamud | Ok, you pasted it earlier right? | 15:28 |
scooper | yes | 15:28 |
shmohamud | Can you paste it again here | 15:28 |
scooper | sure | 15:28 |
scooper | def addingNumber (numA, numB): | 15:28 |
scooper | total = numA + numB | 15:28 |
scooper | return total | 15:28 |
scooper | print(addingNumber(5,4)) | 15:28 |
shmohamud | You ran this and it works right? | 15:28 |
scooper | yes | 15:29 |
shmohamud | Good. Can you give the same answer without using total? | 15:29 |
shmohamud | Just return the added numbers without creating a variable? | 15:29 |
scooper | let give it a try | 15:29 |
shmohamud | Ok | 15:30 |
shmohamud | Hi Fkoikoi, have you completed the homework I assigned yesterday? | 15:30 |
fkoikoi | Yes I did the assignment | 15:31 |
shmohamud | A loop with an if statement in it? I know it's a tough one for where you're at, so it's completely fine if it's no perfect | 15:31 |
shmohamud | Ok, can you paste the result here? | 15:31 |
*** scooper has quit (Remote host closed the connection) | 15:33 | |
fkoikoi | just give me a minute | 15:33 |
shmohamud | no problem | 15:33 |
scooper | sorry for the off and on | 15:34 |
scooper | bad network from my end | 15:34 |
shmohamud | No ned to apologize, I understand the infrastructure in Monrovia is not great. No worries at all. | 15:34 |
scooper | ok | 15:35 |
scooper | did you received the second respond | 15:35 |
*** tmickelson has quit (Ping timeout: 480 seconds) | 15:35 | |
shmohamud | i haven't seen your second answer | 15:35 |
scooper | def addingNumber (numA, numB): | 15:36 |
scooper | return numA + numB | 15:36 |
scooper | 15:36 | |
scooper | print(addingNumber(5,4)) | 15:36 |
shmohamud | beautiful. Well done. | 15:36 |
shmohamud | question: do you guys know the difference between values and types? | 15:36 |
scooper | Yes I know | 15:37 |
shmohamud | ok, explain to us the difference please | 15:37 |
scooper | ok | 15:37 |
*** fkoikoi has quit (Remote host closed the connection) | 15:37 | |
scooper | values is the information that is store in a variable | 15:38 |
shmohamud | ok, and type? | 15:38 |
sysadmin_ | why type is the difference kind of value that is being store in a variable | 15:41 |
fkoikoi | shmohamud? | 15:41 |
shmohamud | yes fkoikoi? | 15:41 |
fkoikoi | I haven't paste the assignment yet because it was give error | 15:41 |
shmohamud | scooper, good answer. Values have different types. Can you name 3 different types in Python for me? | 15:42 |
sysadmin_ | shmohamud have you received my explanation | 15:42 |
shmohamud | fkoikoi that's OK, why don't you paste what you have and we can work through it together? | 15:42 |
sysadmin_ | do you mean data type right?? | 15:42 |
shmohamud | yes data type | 15:42 |
shmohamud | can you name 3 different types in Python? | 15:43 |
sysadmin_ | List, Integrate, string, | 15:43 |
sysadmin_ | Dictionary | 15:43 |
sysadmin_ | Set, etc | 15:43 |
shmohamud | Good work. Sounds like you're familiar with types. Do you know the keyword to test what type a value is? | 15:44 |
sysadmin_ | sorry for the name I switch but it's not working | 15:44 |
sysadmin_ | YES | 15:44 |
fkoikoi | value = 100 | 15:45 |
fkoikoi | for num in range(1, value): | 15:45 |
fkoikoi | print(num) | 15:45 |
fkoikoi | 15:45 | |
fkoikoi | if num == "value": | 15:45 |
fkoikoi | print(good) | 15:45 |
shmohamud | that's OK. Ok, give me an example of checking the type of soething | 15:45 |
sysadmin_ | type("Spencer") | 15:45 |
shmohamud | fkoikoi, what's the error message you're getting? That's a very close answer. | 15:46 |
*** scooper has quit (Ping timeout: 480 seconds) | 15:46 | |
shmohamud | Awesome spencer, ok. Spencer let's practice your loops and conditionals more with a challenge question. | 15:46 |
sysadmin_ | >>> value = "Spencer Cooper" | 15:46 |
sysadmin_ | >>> type(value) | 15:46 |
sysadmin_ | <class 'str'> | 15:46 |
sysadmin_ | >>> | 15:46 |
fkoikoi | it won't print "good" | 15:46 |
sysadmin_ | ok | 15:46 |
fkoikoi | I try making it work | 15:46 |
shmohamud | Spencer, if a number is divisble by 3, I want to print "Fizz". if a number is divisible by 5 I want to print "Buzz" if a number is divisible by 3 and 5 I want to brint "FizzBuzz" | 15:47 |
shmohamud | Can you do that for me? | 15:47 |
shmohamud | This is a common interview question in the United States | 15:48 |
sysadmin_ | let me give it a try | 15:48 |
shmohamud | I like that attitude, go for it. | 15:48 |
shmohamud | Fkoikoi, are you getting an error message yet? | 15:48 |
shmohamud | spencer, I want you to loop between 0 and 100 for this question | 15:49 |
*** fkoikoi has quit (Remote host closed the connection) | 15:49 | |
sysadmin_ | Before do the one you give me?? | 15:50 |
sysadmin_ | *doing | 15:50 |
sysadmin_ | which question?? | 15:50 |
shmohamud | Print every number from 1 to 100 (both included) on a new line. Numbers which are multiple of 3, print “Fizz” instead of a number. For the numbers which are multiples of 5, print “Buzz” instead of a number. For the number which is multiple of both 3 and 5, print “FizzBuzz” instead of numbers. | 15:51 |
fkoikoi | shmohamud is there something that i didn't do it the assignment? | 15:51 |
shmohamud | No the assignment answer looks good, however I thought you said you were getting an error right? | 15:51 |
fkoikoi | I said error because it was not showing the print statement "good" | 15:54 |
shmohamud | Ah, I see. | 15:56 |
fkoikoi | yes | 15:56 |
shmohamud | So, the issue is your conditional never gets hit! Do you know why num == "value" never gets hit? | 15:56 |
fkoikoi | no | 15:57 |
shmohamud | what are you looping through, strings or integers? | 15:59 |
shmohamud | also, is good supposed to be a string, like "good"? | 15:59 |
*** sysadmin has quit (None) | 16:00 | |
shmohamud | and finally, is value supposed to be a string or referencing the variable that's defined? | 16:00 |
fkoikoi | do you mean it should be done like this | 16:02 |
*** sysadmin_ has quit (Ping timeout: 480 seconds) | 16:02 | |
fkoikoi | value = 100 | 16:02 |
fkoikoi | for num in range(1, value): | 16:02 |
fkoikoi | print(num) | 16:02 |
fkoikoi | 16:02 | |
fkoikoi | if num == value: | 16:02 |
fkoikoi | print("good") | 16:02 |
shmohamud | yes, much better! Now, when we loop, does it include the value in range(1, value) or does it stop one short? | 16:03 |
fkoikoi | it include the value in range(1, value) but don't sure that if statement | 16:05 |
shmohamud | are you sure it includes 100 in that range? | 16:06 |
shmohamud | I just tried, and it excludes the number, in other words it only goes to 99! | 16:07 |
fkoikoi | it stop to 99 | 16:07 |
shmohamud | Yes | 16:07 |
shmohamud | so how can you adjust it so it goes to 100 | 16:07 |
shmohamud | and that way, it hits our condition? | 16:07 |
shmohamud | Spencer, how's FizzBuzz going? | 16:08 |
fkoikoi | value = 101 | 16:08 |
fkoikoi | for num in range(1, value): | 16:08 |
fkoikoi | print(num) | 16:08 |
fkoikoi | 16:08 | |
fkoikoi | if num == value: | 16:08 |
fkoikoi | print("good") | 16:08 |
shmohamud | Ok, does it print "good" now? | 16:08 |
fkoikoi | no | 16:08 |
shmohamud | Correct | 16:08 |
shmohamud | how can you change the conditional so it prints "good"? | 16:09 |
shmohamud | hint: there are 100 ways to do it :) | 16:10 |
shmohamud | at least | 16:10 |
fkoikoi | that's where I'm having problems | 16:12 |
*** sysadmin has quit (None) | 16:13 | |
sysadmin_ | shmohamud | 16:13 |
shmohamud | fkoikoi, why don | 16:14 |
shmohamud | why don't you try changing the condtional to when num == 100? | 16:14 |
shmohamud | then let me know if it prints | 16:14 |
shmohamud | yes Spencer? | 16:15 |
fkoikoi | Yes it print | 16:15 |
shmohamud | Do you understand why it's printing now? | 16:15 |
shmohamud | And Spencer, I gave you a mega challenge question. Maybe I should've waited a few more weeks! How are you doing on it now? | 16:16 |
shmohamud | Let's work though it together | 16:16 |
*** scooper has quit (Ping timeout: 480 seconds) | 16:16 | |
fkoikoi | Spencer won't be off again | 16:19 |
fkoikoi | sorry | 16:19 |
fkoikoi | Spencer computer has finally gone off | 16:19 |
*** fkoikoi has quit (Remote host closed the connection) | 16:19 | |
shmohamud | Ok, is he next to you? Can you ask him how FizzBuzz went? | 16:19 |
shmohamud | Are you going to be good? | 16:20 |
shmohamud | or is it going to shut down for you too? | 16:20 |
fkoikoi | Yes in a few minutes from now | 16:20 |
shmohamud | Ok, do you understand why the "good" prints now that we've changed the conditional? | 16:21 |
*** sysadmin_ has quit (Ping timeout: 480 seconds) | 16:22 | |
fkoikoi | let me try | 16:22 |
shmohamud | Good idea, let's move quickly before your computer shuts down! | 16:23 |
fkoikoi | it is because I assign the variable to an integer | 16:24 |
shmohamud | yes, you switched the condition from being the variable value to an integer. | 16:25 |
shmohamud | both are integers, though. 101 is an integer as well as 100 | 16:25 |
shmohamud | The answer I'm looking for is more simple | 16:25 |
shmohamud | It's because 100 is in the range(1,101)! That way, the conditional would be true for any number that fits in that range~ | 16:26 |
shmohamud | Dees that make sense? | 16:26 |
fkoikoi | yes | 16:26 |
shmohamud | great. do you have any final questions before I log off for the day? | 16:26 |
fkoikoi | no but I want to know if there is any assignment for me today | 16:28 |
shmohamud | Yes | 16:28 |
fkoikoi | okay | 16:29 |
shmohamud | You're assignment for today is to write a for loop that prints only numbers that are divisible by 10. So it should print 10, 20, 30, 40, 50, 60, 70, 80, 90, 100. | 16:29 |
shmohamud | This is a challenging assignment, but you can do it using the % operator. Look that operator up and it will guide you to the right answer. Ok? | 16:29 |
fkoikoi | alright | 16:30 |
fkoikoi | thanks | 16:30 |
shmohamud | you're welcome. Great job today :) | 16:30 |
shmohamud | see you tomorrow | 16:30 |
fkoikoi | okay | 16:31 |
*** fkoikoi has quit (Quit: Leaving) | 16:32 | |
*** sysadmin has quit (Quit: Leaving) | 16:33 | |
*** shmohamud has quit (Remote host closed the connection) | 16:35 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 16:43 | |
*** shmohamud has quit (Remote host closed the connection) | 17:00 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 18:05 | |
*** shmohamud has quit (Remote host closed the connection) | 19:00 | |
*** shmohamud has quit (Remote host closed the connection) | 19:29 | |
*** shmohamud has quit (Remote host closed the connection) | 19:35 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 20:59 | |
*** shmohamud has quit (Remote host closed the connection) | 22:26 | |
*** shmohamud has quit (Remote host closed the connection) | 22:44 | |
*** shmohamud has quit (Remote host closed the connection) | 22:46 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!