| *** shmohamud has quit (Remote host closed the connection) | 00:26 | |
| *** shmohamud has quit (Read error: Connection reset by peer) | 01:32 | |
| *** shmohamu_ has quit (Ping timeout: 480 seconds) | 01:40 | |
| scooper | Good morning tmickelson | 13:27 |
|---|---|---|
| tmickelson | good morning scooper | 13:27 |
| scooper | how was your night??? | 13:28 |
| tmickelson | good morning fkoikoi | 13:28 |
| tmickelson | good | 13:28 |
| fkoikoi | Good morning tmickelson | 13:28 |
| jelkner | tmickelson attended an awards ceremony last night, scooper, where they received an award | 13:29 |
| scooper | Ok thank God is there any respond from the picture I sent you yesterday?? | 13:29 |
| scooper | Wow | 13:29 |
| scooper | Congratulation tmickelson | 13:29 |
| fkoikoi | wow Congratulation tmickelson | 13:33 |
| tmickelson | thanks | 13:38 |
| scooper | You are welcome tmickelson... | 13:39 |
| fkoikoi_ | Good morning Jeff | 13:50 |
| *** fkoikoi has quit (Ping timeout: 480 seconds) | 13:52 | |
| scooper | tmickelson | 14:04 |
| scooper | Nothing for us today??? | 14:04 |
| *** tmickelson has quit (Ping timeout: 480 seconds) | 14:06 | |
| jelkner | scooper, fkoikoi_ hello | 14:08 |
| scooper | Hello Jeff | 14:08 |
| scooper | how are you doing??? | 14:08 |
| jelkner | is Sahnun going to meet with you today? | 14:08 |
| scooper | +1 | 14:08 |
| jelkner | sweet, at 3 pm your time? | 14:09 |
| scooper | we have an assignment for him | 14:09 |
| jelkner | great | 14:09 |
| scooper | +1 | 14:09 |
| jelkner | i look forward to our meeting tomorrow | 14:09 |
| jelkner | !agenda | 14:09 |
| LittleWebster | Warning: There are no items on the agenda! | 14:09 |
| *** fkoikoi_ has quit (Remote host closed the connection) | 14:09 | |
| jelkner | !Add Celebrate our progress and talk about moving forward. | 14:10 |
| LittleWebster | Success: "Celebrate our progress and talk about moving forward." has been added to the agenda. | 14:10 |
| jelkner | !agenda | 14:10 |
| LittleWebster | This is the agenda for the next meeting: | 14:10 |
| LittleWebster | Celebrate our progress and talk about moving forward. (added by jelkner) | 14:10 |
| jelkner | scooper, do you have anything else to add to the agenda? | 14:10 |
| scooper | not really except financial report | 14:10 |
| jelkner | add that, please | 14:10 |
| fkoikoi | Jeff, I greeted you but you didn't respond | 14:11 |
| jelkner | LOL, yes, fkoikoi, sorry about that ;-) | 14:11 |
| jelkner | I'm a geek | 14:11 |
| fkoikoi | okay | 14:12 |
| jelkner | we tend to try to minimize chat and optimize communication | 14:12 |
| jelkner | i realize that probably can come off as rude | 14:12 |
| jelkner | i don't mean to be rude | 14:12 |
| scooper | !add Financial Report by(Spencer Cooper) | 14:12 |
| LittleWebster | Success: "Financial Report by(Spencer Cooper)" has been added to the agenda. | 14:12 |
| jelkner | But I would prefer greetings that don't require a response | 14:12 |
| fkoikoi | alright | 14:13 |
| jelkner | Like "Good day, Freena!" | 14:13 |
| jelkner | Instead of "How are you?" | 14:13 |
| jelkner | I'm not sure what you are asking in the later case. | 14:13 |
| scooper | Jeff I have a python question for you | 14:13 |
| jelkner | shoot | 14:13 |
| scooper | While reading the book observed this | 14:14 |
| jelkner | while waiting for scooper, i'll finish my thought for fkoikoi | 14:15 |
| jelkner | fkoikoi, this is a computer science question, really. | 14:16 |
| scooper | I trying to figure out the question jeff | 14:16 |
| jelkner | look at the following exchanges | 14:16 |
| jelkner | 1. | 14:16 |
| jelkner | Good day, fkoikoi! | 14:16 |
| jelkner | Good day, jelkner! | 14:16 |
| jelkner | 2. | 14:16 |
| jelkner | jelkner: How are you, fkoikoi? | 14:16 |
| jelkner | fkoikoi: I'm fine, jelkner, and you? | 14:17 |
| jelkner | jelkner: I'm fine too. | 14:17 |
| jelkner | one has two messages, the other three | 14:17 |
| scooper | in the terminal we have value = input = ("Enter a value")... if the value entered was integer and type(value) | 14:17 |
| jelkner | what page, scooper | 14:17 |
| jelkner | ? | 14:17 |
| scooper | the interpreter will print the data type of the number | 14:18 |
| scooper | but if it's a string it will render syntax error why?? | 14:18 |
| jelkner | anyway, fkoikoi, the question for me is: is more information being conveyed in the longer exchange? | 14:18 |
| jelkner | which page, scooper | 14:18 |
| scooper | I can find the page right now | 14:18 |
| scooper | but this what what I encounter | 14:18 |
| jelkner | i'll answer the question, but i want to look at the book while i do | 14:18 |
| scooper | OK just a minute | 14:19 |
| jelkner | let's get in the habit of working together using the book as a reference | 14:19 |
| jelkner | it will really help us organize our conversation better | 14:19 |
| jelkner | that's why i'm asking | 14:19 |
| jelkner | i will get in the habit of loading the book before we talk | 14:20 |
| jelkner | you should do the same | 14:20 |
| fkoikoi | yes more information is being conveyed | 14:20 |
| scooper | ok page 38 | 14:21 |
| scooper | speed = input(prompt) | 14:21 |
| scooper | What...is the airspeed velocity of an unladen swallow? | 14:21 |
| scooper | What do you mean, an African or a European swallow? | 14:21 |
| scooper | >>> int(speed) | 14:21 |
| scooper | ValueError: invalid literal for int() with base 10: | 14:21 |
| jelkner | then we can just say, "On page 26", Dr. chuck talk about an error ... | 14:21 |
| jelkner | yup, page 26 | 14:21 |
| jelkner | that's what i thought | 14:21 |
| jelkner | nice | 14:21 |
| scooper | yes | 14:21 |
| jelkner | ok here is what is going on... | 14:21 |
| jelkner | when you type keys on the keyboard, you generate *characters* | 14:22 |
| jelkner | put a sequence of characters together and you have a *string* | 14:22 |
| jelkner | so the only thing that can come immediately from typing keys on a keyboard is a string | 14:22 |
| jelkner | even if you want to type a number, like 57 | 14:22 |
| jelkner | you can't | 14:23 |
| jelkner | you can only type the string "57" | 14:23 |
| jelkner | we talked about that yesterday | 14:23 |
| jelkner | or the day before | 14:23 |
| *** fkoikoi has quit (Remote host closed the connection) | 14:23 | |
| jelkner | now "57" is a string that has characters that "represent" a number | 14:23 |
| jelkner | and we ask python to convert those digit characters into the number we want | 14:24 |
| jelkner | int("57") | 14:24 |
| jelkner | which will give back a number, 57 | 14:24 |
| jelkner | but what should int("cheese") do? | 14:25 |
| jelkner | how can you convert "cheese" into a number? | 14:25 |
| jelkner | I don't know! | 14:25 |
| jelkner | and neither does Python ;-) | 14:25 |
| jelkner | so you get a ValueError | 14:25 |
| jelkner | a *literal* is another name for a value | 14:26 |
| jelkner | 57 is an integer literal | 14:26 |
| jelkner | "cheese" is a string literal | 14:26 |
| jelkner | so is "Scooper" | 14:26 |
| scooper | Yes Jeff | 14:26 |
| jelkner | or "Freena" | 14:26 |
| *** tmickelson has quit (Ping timeout: 480 seconds) | 14:27 | |
| jelkner | so if you expect the variable speed to be a string with only digits | 14:27 |
| jelkner | like 200 | 14:27 |
| jelkner | but the user (those darn users are always messing things up! ;-) | 14:27 |
| jelkner | types a question instead | 14:27 |
| jelkner | you get an error | 14:28 |
| jelkner | does that make sense? | 14:28 |
| scooper | Yes Jeff | 14:28 |
| scooper | but | 14:28 |
| scooper | I need to make something clear here | 14:28 |
| scooper | in Python they talked about value conversion right..... | 14:28 |
| jelkner | yes | 14:28 |
| scooper | Since we accept input from our user | 14:29 |
| scooper | And the user done know which value to enter in our program | 14:29 |
| scooper | We restrict the user by making it explicitly to python | 14:29 |
| scooper | to know the kind of value to accept from the user in order to avoid the program cracking right?? | 14:30 |
| jelkner | remember, computers are just machines | 14:30 |
| jelkner | they don't "know" what their doing | 14:30 |
| jelkner | so we have to tell them *everything*! | 14:30 |
| scooper | Yes I know | 14:30 |
| jelkner | and very clearly | 14:30 |
| jelkner | hold on... | 14:30 |
| scooper | ok | 14:31 |
| jelkner | https://git.mcssliberia.org/python-team/PythonStudy/src/branch/main/PY4E/ch03/how_old.py | 14:37 |
| jelkner | Take a look at that, scooper | 14:37 |
| jelkner | Dr. Chuck is introducing you to try ... except | 14:37 |
| jelkner | i am showing you another way, that just uses a while loop | 14:38 |
| jelkner | age.isnumeric() is returns a boolean | 14:39 |
| jelkner | that means True or False | 14:39 |
| scooper | yes I went through the program | 14:39 |
| jelkner | so if you run this program | 14:39 |
| jelkner | and type only digits the first time | 14:39 |
| jelkner | the loop body will never execute | 14:39 |
| jelkner | and it will just tell you "Great.." | 14:40 |
| jelkner | but if you type sixty-three | 14:40 |
| jelkner | instead of 63 | 14:40 |
| jelkner | it will enter the loop body and prompt you again | 14:40 |
| jelkner | "Please enter only digits..." | 14:40 |
| jelkner | when it leaves the loop | 14:40 |
| jelkner | you can be sure that age has *only digits* (or else you would still be in the loop) | 14:41 |
| jelkner | so you can run age = int(age) | 14:41 |
| jelkner | and be sure you won't get an error | 14:41 |
| jelkner | since shmohamud is here | 14:41 |
| jelkner | i'll leave you in his very capable hands | 14:42 |
| scooper | How old are you? 100 | 14:42 |
| scooper | Great, your are 100 years old. Next year you'll be 101 ! | 14:42 |
| scooper | that was the program output | 14:42 |
| jelkner | shmohamud, i'll see you tomorrow at the diner at 7:30 am, yes? | 14:42 |
| shmohamud | yes jelkner, looking forward to it :) | 14:42 |
| scooper | Good morning Shmohamud | 14:42 |
| jelkner | yes scooper now run it again try one hundred instead | 14:42 |
| shmohamud | Good morning scooper | 14:42 |
| jelkner | okie dokie, see you all tomorrow | 14:42 |
| jelkner | ACTION signs off | 14:43 |
| *** jelkner has quit (Quit: Leaving) | 14:43 | |
| scooper | Sorry yesterday from the constant off and on | 14:43 |
| shmohamud | fkokoi are you there? | 14:43 |
| scooper | But I m stable today | 14:43 |
| shmohamud | good to hear it's stable :) | 14:43 |
| scooper | But fkoikoi might last long | 14:43 |
| jelkner | Oops, sorry for barging back in | 14:43 |
| jelkner | let me do one thing before i leave | 14:43 |
| jelkner | scooper, can you please add that item to our agenda? | 14:44 |
| shmohamud | +1 | 14:44 |
| jelkner | i want to make sure you remember how to do that | 14:44 |
| scooper | which one? | 14:44 |
| jelkner | !agenda | 14:44 |
| LittleWebster | This is the agenda for the next meeting: | 14:44 |
| LittleWebster | Celebrate our progress and talk about moving forward. (added by jelkner) | 14:44 |
| LittleWebster | Financial Report by(Spencer Cooper) (added by scooper) | 14:44 |
| jelkner | oops, you rock, scooper | 14:44 |
| jelkner | You already did! | 14:44 |
| jelkner | this is awesome | 14:44 |
| jelkner | you're too fast for me | 14:44 |
| jelkner | ok, later my dear friends | 14:45 |
| scooper | hahaha learning from you gradually | 14:45 |
| scooper | jeff | 14:45 |
| jelkner | ACTION signs off again | 14:45 |
| *** jelkner has quit (None) | 14:45 | |
| fkoikoi | Good morning shmohamud | 14:45 |
| shmohamud | good morning fkoikoi | 14:45 |
| shmohamud | So, scooper, did you finish the FizzBuzz challenge question? | 14:46 |
| shmohamud | And fkoikoi, did you finish the homework? | 14:46 |
| scooper | Yes did tried | 14:46 |
| scooper | +1 I did tried | 14:46 |
| *** fkoikoi has quit (Remote host closed the connection) | 14:46 | |
| shmohamud | ok let's see what you have | 14:47 |
| scooper | start_checking = 0 | 14:47 |
| scooper | stop_checking = 100 | 14:47 |
| scooper | for number in range (start_checking, stop_checking): | 14:47 |
| scooper | if number <= stop_checking: | 14:47 |
| scooper | number = number+1 | 14:47 |
| scooper | if number % 3 == 0: | 14:47 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 14:47 |
| scooper | print("FizzBuzz") | 14:47 |
| scooper | print("Fizz") | 14:47 |
| scooper | 14:47 | |
| scooper | elif number % 5 == 0: | 14:47 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 14:47 |
| scooper | print("FizzBuzz") | 14:48 |
| scooper | print("Buzz") | 14:48 |
| scooper | elif number % 3 and number % 5 == 0: | 14:48 |
| scooper | print("FizzBuzz Hope it work") | 14:48 |
| scooper | print(f"{number}\n") | 14:48 |
| shmohamud | ok, this is a great start | 14:48 |
| shmohamud | first two lines, can you remove those variables and just use numbers? | 14:49 |
| scooper | if you insist | 14:49 |
| shmohamud | I think it's more readable | 14:49 |
| scooper | when those two lines are remove right??? | 14:50 |
| shmohamud | yes | 14:50 |
| fkoikoi | shmohamud, i my computer will soon go off, can I post my assignment? | 14:51 |
| shmohamud | please post it and we can review it later | 14:51 |
| scooper | or number in range (0, 100): | 14:51 |
| scooper | if number <= 100: | 14:51 |
| scooper | number = number+1 | 14:51 |
| scooper | if number % 3 == 0: | 14:51 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 14:51 |
| scooper | print("FizzBuzz") | 14:51 |
| scooper | print("Fizz") | 14:51 |
| fkoikoi | alright | 14:51 |
| scooper | 14:51 | |
| scooper | elif number % 5 == 0: | 14:51 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 14:51 |
| scooper | print("FizzBuzz") | 14:51 |
| scooper | print("Buzz") | 14:51 |
| scooper | elif number % 3 and number % 5 == 0: | 14:51 |
| scooper | print("FizzBuzz Hope it work") | 14:51 |
| scooper | print(f"{number}\n") | 14:51 |
| shmohamud | scooper, why do you need the first if statement? Doesn't the loop execute until it gets to 100 anyways, by design? | 14:52 |
| fkoikoi | number = 110 | 14:52 |
| fkoikoi | for num in range(1, number): | 14:52 |
| fkoikoi | if num % 10 >= 0: | 14:52 |
| fkoikoi | print (num) | 14:52 |
| shmohamud | very close fkoikoi! | 14:53 |
| shmohamud | only thing is you want to change the if statement to be when it's equal to 0! | 14:53 |
| fkoikoi | number = 110 | 14:53 |
| fkoikoi | for num in range(1, number): | 14:53 |
| fkoikoi | if num % 10 <= 0: | 14:53 |
| fkoikoi | print (num) | 14:53 |
| shmohamud | again, very close! | 14:54 |
| shmohamud | just I said I want all those multiples of 10 | 14:54 |
| shmohamud | a multiple of 10 means that dividing by 10 leaves a remainder of 0 | 14:54 |
| shmohamud | that's what the modulus operator is doing | 14:54 |
| shmohamud | so in this case, how should you change the if statement if we want only multiples of 10? | 14:55 |
| fkoikoi | number = 110 | 14:56 |
| fkoikoi | for num in range(1, number): | 14:56 |
| fkoikoi | if num % 10 <= 0: | 14:56 |
| fkoikoi | print (num) | 14:56 |
| scooper | for number in range (0, 100): | 14:57 |
| scooper | #if number <= 100: | 14:57 |
| scooper | number = number+1 | 14:57 |
| scooper | if number % 3 == 0: | 14:57 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 14:57 |
| scooper | print("FizzBuzz") | 14:57 |
| scooper | print("Fizz") | 14:57 |
| scooper | 14:57 | |
| scooper | elif number % 5 == 0: | 14:57 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 14:57 |
| scooper | print("FizzBuzz") | 14:57 |
| scooper | print("Buzz") | 14:57 |
| scooper | elif number % 3 and number % 5 == 0: | 14:57 |
| scooper | print("FizzBuzz Hope it work") | 14:57 |
| scooper | print(f"{number}\n") | 14:57 |
| shmohamud | so fkoikoi, run the program and see if it works | 14:57 |
| fkoikoi | it only show the multiples of 10 | 14:58 |
| fkoikoi | 10, 20, 30..... 100 | 14:58 |
| shmohamud | ok that makes sense | 14:58 |
| shmohamud | because we're not looping through negative numbers | 14:58 |
| shmohamud | if we looped from -50 to 110, we would get non multiples of 10 when it's negative | 14:59 |
| shmohamud | but you're right, this works exactly how I asked you, so great job! | 14:59 |
| *** fkoikoi has quit (Quit: Leaving) | 14:59 | |
| shmohamud | scooper, have you run your program yet? | 15:00 |
| scooper | yes I ran it | 15:00 |
| scooper | I pasted the current on already in here | 15:00 |
| shmohamud | does it work? | 15:00 |
| scooper | yes | 15:00 |
| scooper | I commented out the second line | 15:01 |
| shmohamud | why do you have number = number + 1 | 15:01 |
| scooper | number is the iterating variable | 15:02 |
| shmohamud | what if you start looping at 1 instead of 0, then you could get rid of that right? | 15:02 |
| scooper | +1 is add each time the loop run to the value of number to compare it, and see if it's greater than or not | 15:02 |
| shmohamud | do we need to do that? | 15:03 |
| scooper | If I do | 15:03 |
| scooper | my program will star counting from 2 | 15:04 |
| scooper | *start | 15:04 |
| shmohamud | for number in range (0, 100): | 15:04 |
| shmohamud | that's what determines where your number value comes from, right? | 15:05 |
| scooper | shmohamud this is your question "#Second Assignment from Shmo | 15:05 |
| scooper | #Print every number from 1 to 100(both included) on a new line. | 15:05 |
| scooper | #Numbers which are multiple of 3, print "Fizz" | 15:05 |
| scooper | #instead of a number. For the numbers which are multiples of 5, print | 15:05 |
| scooper | #"Buzz" instead of a number. For the number which is multiple of both 3 & 5, print | 15:05 |
| scooper | #"FizzBuzz" instead of number " | 15:05 |
| shmohamud | the first line says print every number from 1 to 100 | 15:06 |
| scooper | +1 | 15:07 |
| shmohamud | so we don't need to add 1 everytime, it shouldn't start at 2 | 15:08 |
| shmohamud | unless I'm missing something | 15:08 |
| shmohamud | also, can we move the "FizzBuzz hope it works" to the top of the if/else statements list? That way, we can remove the conditionals that check for 3 and 5. | 15:09 |
| shmohamud | Does thta make sense? | 15:10 |
| scooper | let me give it a try | 15:10 |
| shmohamud | ok | 15:10 |
| scooper | for number in range (1, 100): | 15:12 |
| scooper | if number <= 100: | 15:12 |
| scooper | number = number+1 | 15:12 |
| scooper | if number % 3 == 0: | 15:12 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 15:12 |
| scooper | print("FizzBuzz") | 15:12 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 15:12 |
| scooper | print("FizzBuzz") | 15:12 |
| scooper | print("Fizz") | 15:12 |
| scooper | 15:12 | |
| scooper | elif number % 5 == 0: | 15:12 |
| scooper | 15:12 | |
| scooper | print("Buzz") | 15:12 |
| scooper | elif number % 3 and number % 5 == 0: | 15:12 |
| scooper | print("FizzBuzz Hope it work") | 15:12 |
| scooper | print(f"{number}\n") | 15:12 |
| scooper | Do you notice that the program is checking from 2 instead of 1?? since I include the 1 instead of 0 | 15:13 |
| shmohamud | i'm saying, can you (1) move the "FizzBuzz Hope it work" to be on top of the first if statement (number % 3) | 15:13 |
| scooper | This mean | 15:13 |
| shmohamud | and (2) remove the lines that are checking if number % 3 ==0 and number % 5 == 0 from the other conditionals | 15:13 |
| shmohamud | does that make sense? | 15:13 |
| scooper | all condition will be nested under that if statement | 15:14 |
| scooper | That mean all condition will be nested under that if statement if I take it to the top | 15:14 |
| shmohamud | close, not nested, just on top of them starting with "if number % 3 == 0 and number % 5 == 0" | 15:14 |
| shmohamud | then use elif statements the rest of the way down | 15:14 |
| shmohamud | would you like to see the solution or are you following what I'm saying? | 15:15 |
| scooper | got you | 15:15 |
| scooper | for number in range (1, 100): | 15:16 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 15:16 |
| scooper | print("FizzBuzz") | 15:16 |
| scooper | elif number <= 100: | 15:16 |
| scooper | number = number+1 | 15:16 |
| scooper | if number % 3 == 0: | 15:16 |
| scooper | 15:16 | |
| scooper | if number % 3 == 0 and number % 5 == 0: | 15:16 |
| scooper | print("FizzBuzz") | 15:16 |
| scooper | print("Fizz") | 15:16 |
| scooper | 15:16 | |
| scooper | elif number % 5 == 0: | 15:16 |
| scooper | 15:16 | |
| scooper | print("Buzz") | 15:16 |
| scooper | elif number % 3 and number % 5 == 0: | 15:16 |
| scooper | print("FizzBuzz Hope it work") | 15:16 |
| scooper | print(f"{number}\n") | 15:16 |
| scooper | did I follow your instruction??? | 15:16 |
| scooper | all you want me to remove all nested condition??? | 15:16 |
| shmohamud | the first line, yes | 15:16 |
| shmohamud | you moved it to the top | 15:16 |
| shmohamud | but why is there a condtional elif num <= 100 ? | 15:17 |
| scooper | yes | 15:17 |
| shmohamud | and why are we checking if number % 3 == 0 and number % 5 == 0 inside the other conditionals, we only need to check that once | 15:17 |
| scooper | elif is the second conditional that is evaluating the iterating variable, Hope I m on path base on your question | 15:19 |
| shmohamud | do we need to use that elif number <= 100? | 15:20 |
| shmohamud | you're on the path | 15:20 |
| scooper | shmohamud | 15:24 |
| scooper | base on what you are asking | 15:24 |
| scooper | if are do it only Letter will show but the value of my output will not show | 15:24 |
| scooper | this is what I mean | 15:25 |
| scooper | for number in range (1, 100): | 15:25 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 15:25 |
| scooper | print("FizzBuzz") | 15:25 |
| scooper | number = number+1 | 15:25 |
| scooper | elif number % 3 == 0: | 15:25 |
| scooper | print("Fizz") | 15:25 |
| scooper | elif number % 5 == 0: | 15:25 |
| scooper | print("Buzz") | 15:25 |
| scooper | #print(f"{number}\n") | 15:25 |
| shmohamud | perfect, you're missing one thing | 15:25 |
| shmohamud | why did you comment out the print? | 15:26 |
| shmohamud | it should be indented outside of the elif statement | 15:26 |
| shmohamud | then, the solution is perfect. Try it and lets see | 15:26 |
| scooper | for number in range (1, 100): | 15:27 |
| scooper | if number % 3 == 0 and number % 5 == 0: | 15:27 |
| scooper | print("FizzBuzz") | 15:27 |
| scooper | number = number+1 | 15:27 |
| scooper | elif number % 3 == 0: | 15:27 |
| scooper | print("Fizz") | 15:27 |
| scooper | elif number % 5 == 0: | 15:28 |
| scooper | print("Buzz") | 15:28 |
| scooper | print(f"{number}\n") | 15:28 |
| shmohamud | is this working? | 15:28 |
| scooper | yes it print | 15:28 |
| shmohamud | well done!!! | 15:28 |
| scooper | this is so sweet | 15:28 |
| scooper | with lesson code | 15:28 |
| shmohamud | Do you like the format of our lessons? | 15:28 |
| scooper | with less code | 15:29 |
| shmohamud | oh | 15:29 |
| shmohamud | with less code | 15:29 |
| shmohamud | yes! | 15:29 |
| shmohamud | isn't that awesome! | 15:29 |
| shmohamud | I agree! | 15:29 |
| scooper | shmohamud you making programming so sweet for me | 15:29 |
| shmohamud | Aww, that makes me feel good :) You're making it sweet for me too :) | 15:29 |
| shmohamud | You're the one doing the work, this is tough stuff, so be proud of yourself. | 15:30 |
| shmohamud | :) | 15:30 |
| scooper | I m proud of you because you got me doing it | 15:30 |
| shmohamud | Thank you :) | 15:30 |
| shmohamud | Do you have any further questions? We knocked down that challenge question, which to me makes for a great day. | 15:31 |
| scooper | I will need another task before you leave | 15:31 |
| shmohamud | yes sir | 15:31 |
| shmohamud | let me think | 15:32 |
| scooper | OK Programmer | 15:32 |
| shmohamud | hahahaha | 15:32 |
| shmohamud | write me a function that takes in a parameter (num) and returns me the number squared | 15:33 |
| shmohamud | can you do that? | 15:33 |
| scooper | Is the input coming from the user?? | 15:34 |
| shmohamud | nope, you can just call the function with the value | 15:34 |
| shmohamud | good question | 15:34 |
| scooper | I can give it a try | 15:35 |
| shmohamud | sounds good | 15:36 |
| shmohamud | any questions before I log off for the day? | 15:36 |
| scooper | No Programmer | 15:37 |
| scooper | I appreciate the assistant you have render so far | 15:37 |
| shmohamud | You're very welcome :) I appreciate the effort you're putting in to learning. We will succeed at this rate. | 15:38 |
| scooper | OK Bye shmohamud | 15:38 |
| shmohamud | bye scooper | 15:38 |
| *** shmohamud has quit (Remote host closed the connection) | 15:39 | |
| *** scooper has quit (Quit: Leaving) | 16:38 | |
| *** thehedgeh0g has quit (weber.oftc.net synthon.oftc.net) | 16:48 | |
| *** shmohamud has quit (Remote host closed the connection) | 17:45 | |
| *** shmohamud has quit (Remote host closed the connection) | 18:11 | |
| *** shmohamud has quit (Ping timeout: 480 seconds) | 18:41 | |
| *** shmohamud has quit (Remote host closed the connection) | 19:30 | |
| *** shmohamud has quit (Ping timeout: 480 seconds) | 19:56 | |
| *** shmohamud has quit (Remote host closed the connection) | 21:01 | |
| *** shmohamud has quit (Ping timeout: 480 seconds) | 21:09 | |
| *** shmohamud has quit (Ping timeout: 480 seconds) | 21:38 | |
| *** shmohamud has quit (Remote host closed the connection) | 22:18 | |
| *** shmohamud has quit (Ping timeout: 480 seconds) | 22:27 | |
| *** shmohamud has quit (Ping timeout: 480 seconds) | 23:32 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!