Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Dec 5, 2019 00:53
WOW!
Dec 5, 2019 00:53
IT WORKS!
Dec 5, 2019 00:48
Thanks for the help, anyway
Dec 5, 2019 00:45
@AndrasDeak I tried doing what you suggested with 'return' (b/c I have to learn itertools), but now, there's no solutions being printed at all
Dec 5, 2019 00:42
When I run the program with 'return', the compiler states that "return None
    ^
SyntaxError: 'return' outside function"
Dec 5, 2019 00:40
'return' what? OK, let me try itertools.product
Dec 5, 2019 00:38
For instance, when I run my code, it will output multiple lines of solutions.
Dec 5, 2019 00:38
Problem is, I just want one line of Solutions of 6x + 8y = 42 are (x,y) = (3+8t,3-6t), not multiple
Dec 5, 2019 00:37
@AndrasDeak Yup, they all work
Dec 5, 2019 00:35
Whoops; sorry
Dec 5, 2019 00:30
If anyone could help that would be great
Dec 5, 2019 00:29
Pretty simple, but when you run it, you'll see that it prints multiple solutions, not just one
Dec 5, 2019 00:26
My program works! But, it prints multiple answers. I just want one answer. How can I do that?
Sep 18, 2019 03:42
Guys, can you help me interpret the IP Address 198.61.16.98
Apr 6, 2019 21:33
thanks guys
Apr 6, 2019 21:33
ohhh, foolish me
Apr 6, 2019 21:31
oh what
Apr 6, 2019 21:30
/**x = 1

for x in range(10**2+1):

BLAH BLAH**/
Apr 6, 2019 21:30
Why does my FOR loop start at 0, even though I specified x to be 1?
Apr 6, 2019 21:29
Hey guys
 

 Python Ouroboros - The Rotating Knives

Messages from the Python room that didn't meet our standards o...
Dec 5, 2019 00:33
@Skyler Hi, any ideas please?
 

HTML / CSS / WebDesign

This room is now defunct. RIP.
Mar 14, 2019 04:30
How I can make my absolute positioning of the black box responsive (as in, stay in the center regardless of viewport size)?
Mar 10, 2019 04:00
margin left/right: 50% doesn't help
Mar 10, 2019 04:00
Click the 911 button; Trying to center that black down arrow, but I just can't
Mar 4, 2019 06:59
@Tiffany Hi, any suggestions?
Mar 4, 2019 06:19
Mar 4, 2019 06:19
Any chance codepen has something to do with the problem?
Mar 4, 2019 06:19
But to no avail
Mar 4, 2019 06:19
I tried resolving it w/ some solutions from stackoverflow.com/questions/11485271/…
Mar 4, 2019 06:18
Getting the classic Error: redirect_uri_mismatch error
Mar 4, 2019 06:18
Having trouble using OAuth 2 authentication for Google
Mar 2, 2019 08:00
I'm using the NYT API
Mar 2, 2019 08:00
However, I don't want to create a new div for every headline and copy and paste code. I'm sure there's an easier way to do this, but I'm not sure how: codepen.io/Refath/pen/JxgbJz?editors=1010
Mar 2, 2019 07:59
Everything's working perfectly
Feb 24, 2019 05:33
As you can see, it starts glitching like crazy onHover
Feb 24, 2019 05:33
Feb 24, 2019 05:33
But none of them have helped me
Feb 24, 2019 05:32
11
Q: CSS Transform Translate to center of Window

nambrotI have a list of elements and upon a specific action, i'd like to apply the css-transform translate to move it into the center of the window. I know css-transform is used to relatively move an element, but I was wondering whether it is possible to anchor it absolutely somewhere, i.e. in the middl...

Feb 24, 2019 05:32
I've taken a look at css-tricks.com/…
Feb 24, 2019 05:32
I'm trying to make the div go to the center of the page on hover
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Feb 23, 2019 19:49
I. DID IT
Feb 23, 2019 19:49
I DID IT
Feb 23, 2019 19:49
WOW IT'S WORKING!!
Feb 23, 2019 19:43
Oh nevermind; removing brackets did it
Feb 23, 2019 19:43
Weird. api.nytimes.com/svc/search/v2/… returns invalid API Key.
Feb 23, 2019 19:42
OK, Sorry. Don't wanna be a help vampire