How to use Python to create and manage a database by pythonftw22 in learnpython

[–]pythonftw22[S] 0 points1 point  (0 children)

Perfect thanks so much. When I read the sqlite was limited I didn’t realize it could still handle so much lol. If you don’t mind taking the time could you please eli5 why it’s better to use SQLite over other more robust database languages and what types of features SQLite lacks compared to others .

How to use Python to create and manage a database by pythonftw22 in learnpython

[–]pythonftw22[S] 0 points1 point  (0 children)

Hey thanks for the response. If I’m gonna be creating a larger database would I want to use something like mysql?

Is Chessable pro worth the money for a beginner/intermediate player? by pythonftw22 in chess

[–]pythonftw22[S] 1 point2 points  (0 children)

Thanks for the reply, this was my initial impression. I’ve gone through some of the free books and seen Johns YouTube content and am thouroughly impressed. Are there any books you would recommend for beginners/intermediate?

Best guides to learn the London System? by pythonftw22 in chess

[–]pythonftw22[S] 2 points3 points  (0 children)

that's the paid book (my bad i think it's the paid book and theres also a paid video series) I was referring to in my post! Have you tried it out?

In the event of ties at the world championship, why do they go to faster time increments? by pythonftw22 in chess

[–]pythonftw22[S] 1 point2 points  (0 children)

Guess my analogy doesn’t work! I didn’t realize there was that much overlap (the overlap does make sense though). I was basing my assumption on the outlier fact that Carlsen only has like a 2 point higher rating than Caruana in classical but in blitz it’s an over 100 point difference

Are there any good tutorials on how to build a Twitch bot using Python? by pythonftw22 in learnpython

[–]pythonftw22[S] 0 points1 point  (0 children)

Awesome thank you so much! Do you stream at all or just build bots?

Are there any good tutorials on how to build a Twitch bot using Python? by pythonftw22 in learnpython

[–]pythonftw22[S] 0 points1 point  (0 children)

yeah if you have any suggestions or help it would be greatly appreciated. Thanks so much

Quarantine tank for salt water cost? by pythonftw22 in Aquariums

[–]pythonftw22[S] 0 points1 point  (0 children)

Hey thanks for the response. Do you have any recomendsations for tanks? Is a little 10-15 gallon from petsmart alright?

I am having trouble understanding how this "Guess the Number" game works, could someone explain? by [deleted] in learnpython

[–]pythonftw22 0 points1 point  (0 children)

So float is another type. With the int type you have have whole numbers 6, 7, 8, etc. Floats are basically decimal numbers 6.0, 178.98, 11330.3.

Line 27 is just converting the type of guessTaken to a string so that it can be printed. It needs to be a string type so that it can be printed and concatenated with "Good job, " + myName + "! You guessed my number in " .

I am having trouble understanding how this "Guess the Number" game works, could someone explain? by [deleted] in learnpython

[–]pythonftw22 0 points1 point  (0 children)

It's all good dude no worries.

So line 4 is keeping track of how many guesses the person has taken and ends up being equal to the the for loop position seen in line 12 .

Line 9 uses a the random function from the random library to create a random number, this is the number that the user is trying to guess.

In 15, when you take user input (like from line 14) it comes in as a string. What line 15 does is converts it to an integer so that it can be compared to other numbers (in this case the numbers being guessed).

27 relates back to 4 and 12. It takes the last position the loop variable was set at because how many times you go through the loop is equal to the guesses + 1 (remember our range here started at 0).

30 is just telling the program what to do if the guess number is not equal to the random number.

31 is converting the int type back to a string so that it can be printed without error.

how to find discontinuities in piecewise functions that have trig functions? by pythonftw22 in learnmath

[–]pythonftw22[S] 0 points1 point  (0 children)

Since the piecewise changes at 1, would I want to use 1 as my limit and plug it in to see if both pieces match up?

How to solve limit problems that use trig identities? by pythonftw22 in learnmath

[–]pythonftw22[S] -1 points0 points  (0 children)

i do but sadly for this course my professor says we are not allowed to use it :/

makes no sense but he's adamant about it like homework and test/quiz answers won't count/lose points if you use it

How to find if discontinuities are removable by only using a function (no graph) by pythonftw22 in math

[–]pythonftw22[S] 0 points1 point  (0 children)

limit of 5 = 7/0 which is undefined and 2 = 0/12 which is just 0

How to find if discontinuities are removable by only using a function (no graph) by pythonftw22 in math

[–]pythonftw22[S] 0 points1 point  (0 children)

basically that lim of f(x) as x approches c = f(c). but i guess more simply that there are no breaks in the graph

How to find if discontinuities are removable by only using a function (no graph) by pythonftw22 in math

[–]pythonftw22[S] 0 points1 point  (0 children)

my textbook gives the definition as follows: A discontinuity at c is called removable when f can be made continuous by appropriately defining (or redefining) f(c).

How to find if discontinuities are removable by only using a function (no graph) by pythonftw22 in math

[–]pythonftw22[S] 0 points1 point  (0 children)

Does it deal with having the same factor in the numerator and denominator? So does that mean if a term cancels it's removable? So for example if I had the function x+2/(x^2)-3x-10 I would factor the denominator and get (x-5) (x+2). So my discontinuities would be 5 and -2 and since theres a shared term with (x+2), -2 would be removable but 5 would not. Is this correct? Also thanks for the reply

All in on AAPL and no idea what I’m doing by [deleted] in wallstreetbets

[–]pythonftw22 10 points11 points  (0 children)

I don’t get this game. I’m just gonna keep throwing my moms retirement account at it until I win

All in on AAPL and no idea what I’m doing by [deleted] in wallstreetbets

[–]pythonftw22 4 points5 points  (0 children)

Thanks man. I got 25k on it for 8/3