workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
do you know the timezone?
2017-12-11T14:17:29.000468
Suellen
pythondev_help_Suellen_2017-12-11T14:17:29.000468
1,513,001,849.000468
103,303
pythondev
help
I do, but it be nioce not to have to know it
2017-12-11T14:18:12.000278
Arlene
pythondev_help_Arlene_2017-12-11T14:18:12.000278
1,513,001,892.000278
103,304
pythondev
help
you can't convert time to UTC without knowing its original timezone
2017-12-11T14:18:44.000491
Suellen
pythondev_help_Suellen_2017-12-11T14:18:44.000491
1,513,001,924.000491
103,305
pythondev
help
whatever whatever -0600 is
2017-12-11T14:19:46.000261
Arlene
pythondev_help_Arlene_2017-12-11T14:19:46.000261
1,513,001,986.000261
103,306
pythondev
help
central USA i think
2017-12-11T14:19:52.000545
Arlene
pythondev_help_Arlene_2017-12-11T14:19:52.000545
1,513,001,992.000545
103,307
pythondev
help
yea lets say its central
2017-12-11T14:20:08.000001
Arlene
pythondev_help_Arlene_2017-12-11T14:20:08.000001
1,513,002,008.000001
103,308
pythondev
help
<@Enid> Running a lot of discrete tasks server-side sounds, at least on the surface, like a possible application for Celery ... especially if the tasks don't have a lot of dependencies. It doesn't really sound like a question of "pythonic" or not.
2017-12-11T14:21:44.000493
Nicole
pythondev_help_Nicole_2017-12-11T14:21:44.000493
1,513,002,104.000493
103,309
pythondev
help
And Celery is but one (popular) approach.
2017-12-11T14:22:53.000295
Nicole
pythondev_help_Nicole_2017-12-11T14:22:53.000295
1,513,002,173.000295
103,310
pythondev
help
I think i got it with this
2017-12-11T14:27:23.000028
Arlene
pythondev_help_Arlene_2017-12-11T14:27:23.000028
1,513,002,443.000028
103,311
pythondev
help
``` In [48]: x Out[48]: '2017-12-11 11:21:29' In [49]: date_str = x In [50]: datetime_obj = datetime.strptime(date_str, "%Y-%m-%d %H:%M:%S") ...: ...: In [51]: datetime_obj_utc = datetime_obj.replace(tzinfo=timezone('UTC')) ...: In [52]: print datetime_obj_utc.strftime("%Y-%m-%d %H:%M:%S %Z%z") ...:...
2017-12-11T14:27:34.000218
Arlene
pythondev_help_Arlene_2017-12-11T14:27:34.000218
1,513,002,454.000218
103,312
pythondev
help
this didn't change the time. You just added the timezone info to be UTC
2017-12-11T14:42:59.000387
Ciera
pythondev_help_Ciera_2017-12-11T14:42:59.000387
1,513,003,379.000387
103,313
pythondev
help
is that what you want ?
2017-12-11T14:43:03.000517
Ciera
pythondev_help_Ciera_2017-12-11T14:43:03.000517
1,513,003,383.000517
103,314
pythondev
help
thats what i wanted
2017-12-11T14:46:28.000205
Arlene
pythondev_help_Arlene_2017-12-11T14:46:28.000205
1,513,003,588.000205
103,315
pythondev
help
sorry about that
2017-12-11T14:46:42.000614
Arlene
pythondev_help_Arlene_2017-12-11T14:46:42.000614
1,513,003,602.000614
103,316
pythondev
help
hi guys, a more pen question. how do i write an single regexp that matches multiple conditions in pyt? iam trying with condition 1. six or more elements `(.{6,})`2.condition at least one upper and 3. one lower case and 4 one number at least but my syntax like this ```(.{6,})([A-Z]+)([a-z]+)([0-9]+)```and iam also tryin...
2017-12-11T14:48:22.000513
Blaine
pythondev_help_Blaine_2017-12-11T14:48:22.000513
1,513,003,702.000513
103,317
pythondev
help
i read here <https://stackoverflow.com/questions/469913/regular-expressions-is-there-an-and-operator/470602#470602>
2017-12-11T14:49:37.000055
Blaine
pythondev_help_Blaine_2017-12-11T14:49:37.000055
1,513,003,777.000055
103,318
pythondev
help
I'd probably just do multiple passes to make it simple myself, it also allows you to provide better validation reasons for why it may have failed.
2017-12-11T14:53:38.000368
Beula
pythondev_help_Beula_2017-12-11T14:53:38.000368
1,513,004,018.000368
103,319
pythondev
help
It would be a little more flexible to, as you effectively can make a rules engine: ``` class Validator(object): def validate(self, value): raise NotImplemented class MinLenthValidator(Validator): min_len = 10 def validate(self, value): if not len(value) &gt; self.min_len: rais...
2017-12-11T14:56:21.000681
Beula
pythondev_help_Beula_2017-12-11T14:56:21.000681
1,513,004,181.000681
103,320
pythondev
help
hi matt, and thanks, normaly i go for the same but iam trying to solve this headcracker <https://www.codewars.com/kata/regex-password-validation/train/python> in a onliner. time to resharp my regex blade i guess :slightly_smiling_face:
2017-12-11T14:59:11.000286
Blaine
pythondev_help_Blaine_2017-12-11T14:59:11.000286
1,513,004,351.000286
103,321
pythondev
help
but this way you wrote it its way more readable for hoomans
2017-12-11T14:59:29.000792
Blaine
pythondev_help_Blaine_2017-12-11T14:59:29.000792
1,513,004,369.000792
103,322
pythondev
help
<@Blaine> I think the look ahead version you posted is close, but it looks like there's also a condition where only alphanumeric characters are allowed which isn't accounted for
2017-12-11T15:05:10.000591
Antionette
pythondev_help_Antionette_2017-12-11T15:05:10.000591
1,513,004,710.000591
103,323
pythondev
help
i will follow your breadcrumbs. ty sir
2017-12-11T15:06:05.000251
Blaine
pythondev_help_Blaine_2017-12-11T15:06:05.000251
1,513,004,765.000251
103,324
pythondev
help
[Is there any way for me to replicate a POST/GET request sent to a java server to generate a query that way I can simply use the `requests` module to do so? Or is this something I have to do with `BS4` or a similar library by entering the data to fill in each form field
2017-12-11T16:10:16.000206
Myong
pythondev_help_Myong_2017-12-11T16:10:16.000206
1,513,008,616.000206
103,325
pythondev
help
I have the source of the form data from the POST in the format `owner_name=&amp;asr_r_zipcode=&amp;radiusChoice=all&amp;fiLatDeg=` and so on. Would I have to pass these form fields to `requests` in the form of a dictionary/json?
2017-12-11T16:14:19.000278
Myong
pythondev_help_Myong_2017-12-11T16:14:19.000278
1,513,008,859.000278
103,326
pythondev
help
I believe requests would just accept them in the url but not 100% sure on that
2017-12-11T16:28:50.000401
Antionette
pythondev_help_Antionette_2017-12-11T16:28:50.000401
1,513,009,730.000401
103,327
pythondev
help
You could use this to parse to a dictionary (<https://docs.python.org/3.6/library/urllib.parse.html?highlight=url%20parse#urllib.parse.parse_qs>)
2017-12-11T16:28:59.000070
Antionette
pythondev_help_Antionette_2017-12-11T16:28:59.000070
1,513,009,739.00007
103,328
pythondev
help
Hmmm, can't seem to get it to work for a multi select list of items
2017-12-11T16:46:39.000355
Myong
pythondev_help_Myong_2017-12-11T16:46:39.000355
1,513,010,799.000355
103,329
pythondev
help
<@Antionette> thanks for the link, just trying to get this multi select list to work. Doesnt fill anything in for it
2017-12-11T16:47:15.000640
Myong
pythondev_help_Myong_2017-12-11T16:47:15.000640
1,513,010,835.00064
103,330
pythondev
help
Can you post the actually string you have for it here?
2017-12-11T16:48:10.000031
Antionette
pythondev_help_Antionette_2017-12-11T16:48:10.000031
1,513,010,890.000031
103,331
pythondev
help
Yeah one sec
2017-12-11T16:51:20.000378
Myong
pythondev_help_Myong_2017-12-11T16:51:20.000378
1,513,011,080.000378
103,332
pythondev
help
<http://wireless2.fcc.gov/UlsApp/AsrSearch/asrAdvancedSearch.jsp?fromRefine=Y&amp;radiusChoice=all&amp;fiLatDir=N&amp;fiLongDir=W&amp;fiRadiusMetricType=Kilometers&amp;fiHeightChoice=all&amp;fiOverallAGLExactMetricType=Meters&amp;fiOverallAGLRangeMetricType=Meters&amp;ars_r_struct_code=PIPE&amp;fiDateType=asr_r_date_la...
2017-12-11T16:52:12.000414
Myong
pythondev_help_Myong_2017-12-11T16:52:12.000414
1,513,011,132.000414
103,333
pythondev
help
The problem is in the key `asr_r_struct_code`
2017-12-11T16:52:49.000550
Myong
pythondev_help_Myong_2017-12-11T16:52:49.000550
1,513,011,169.00055
103,334
pythondev
help
Doesn't select any of the 15 options it shows
2017-12-11T16:53:01.000363
Myong
pythondev_help_Myong_2017-12-11T16:53:01.000363
1,513,011,181.000363
103,335
pythondev
help
It's one of those multi selects where you have to use either Shift or Ctrl to select multiple items
2017-12-11T16:56:12.000218
Myong
pythondev_help_Myong_2017-12-11T16:56:12.000218
1,513,011,372.000218
103,336
pythondev
help
Not sure if that's because they have to be actually clicked or what.
2017-12-11T16:57:46.000217
Myong
pythondev_help_Myong_2017-12-11T16:57:46.000217
1,513,011,466.000217
103,337
pythondev
help
It might need to be `asr_r_struct_code[]`
2017-12-11T16:58:01.000037
Antionette
pythondev_help_Antionette_2017-12-11T16:58:01.000037
1,513,011,481.000037
103,338
pythondev
help
hmmm although the name is just asr_r_struct_code
2017-12-11T17:02:05.000298
Antionette
pythondev_help_Antionette_2017-12-11T17:02:05.000298
1,513,011,725.000298
103,339
pythondev
help
Yeah
2017-12-11T17:02:14.000056
Myong
pythondev_help_Myong_2017-12-11T17:02:14.000056
1,513,011,734.000056
103,340
pythondev
help
When you say it doesn't select any of the 15 options shown, what do you mean? because none of the params come up filled in for the get request to that page. Do you mean when you post its not returning the correct/expected results?
2017-12-11T17:06:34.000252
Antionette
pythondev_help_Antionette_2017-12-11T17:06:34.000252
1,513,011,994.000252
103,341
pythondev
help
Yeah, in the post request the page that loads up, the parameters which I enter do not get sent
2017-12-11T17:07:21.000588
Myong
pythondev_help_Myong_2017-12-11T17:07:21.000588
1,513,012,041.000588
103,342
pythondev
help
oh in your original link you have `ars_r_struct_code` but the field name is `asr_r_struct_code`
2017-12-11T17:09:04.000398
Antionette
pythondev_help_Antionette_2017-12-11T17:09:04.000398
1,513,012,144.000398
103,343
pythondev
help
On the backend it must just not take in the parameters for the select
2017-12-11T17:09:07.000334
Myong
pythondev_help_Myong_2017-12-11T17:09:07.000334
1,513,012,147.000334
103,344
pythondev
help
okay let me check
2017-12-11T17:09:22.000252
Myong
pythondev_help_Myong_2017-12-11T17:09:22.000252
1,513,012,162.000252
103,345
pythondev
help
Still doesn't take in the parameter
2017-12-11T17:10:35.000652
Myong
pythondev_help_Myong_2017-12-11T17:10:35.000652
1,513,012,235.000652
103,346
pythondev
help
odd...
2017-12-11T17:10:37.000399
Myong
pythondev_help_Myong_2017-12-11T17:10:37.000399
1,513,012,237.000399
103,347
pythondev
help
Can you post the dictionary that you're passing to requests?
2017-12-11T17:11:22.000407
Antionette
pythondev_help_Antionette_2017-12-11T17:11:22.000407
1,513,012,282.000407
103,348
pythondev
help
Yeah
2017-12-11T17:12:00.000096
Myong
pythondev_help_Myong_2017-12-11T17:12:00.000096
1,513,012,320.000096
103,349
pythondev
help
`{'radiusChoice': ['all'], 'fiLatDir': ['N'], 'fiLongDir': ['W'], 'fiRadiusMetricType': ['Kilometers'], 'fiHeightChoice': ['all'], 'fiOverallAGLExactMetricType': ['Meters'], 'fiOverallAGLRangeMetricType': ['Meters'], 'asr_r_struct_code': ['BANT', 'BPOLE', 'BTWR', 'GTOWER', 'MAST', 'MTOWER', 'NNGTANN', 'NNLTANN', 'NNMTA...
2017-12-11T17:12:40.000086
Myong
pythondev_help_Myong_2017-12-11T17:12:40.000086
1,513,012,360.000086
103,350
pythondev
help
Sorry, I can't do snippets
2017-12-11T17:12:44.000423
Myong
pythondev_help_Myong_2017-12-11T17:12:44.000423
1,513,012,364.000423
103,351
pythondev
help
This is direct output from `parse_qs`
2017-12-11T17:13:06.000059
Myong
pythondev_help_Myong_2017-12-11T17:13:06.000059
1,513,012,386.000059
103,352
pythondev
help
from the raw string input after pre-selecting what I wanted and viewing the form data in the post
2017-12-11T17:13:28.000653
Myong
pythondev_help_Myong_2017-12-11T17:13:28.000653
1,513,012,408.000653
103,353
pythondev
help
Hmmm and it looks like the results are filtered correctly per the other params, just not the the struct_code multie select?
2017-12-11T17:15:05.000362
Antionette
pythondev_help_Antionette_2017-12-11T17:15:05.000362
1,513,012,505.000362
103,354
pythondev
help
Yeah, it's odd
2017-12-11T17:15:13.000375
Myong
pythondev_help_Myong_2017-12-11T17:15:13.000375
1,513,012,513.000375
103,355
pythondev
help
Let me try
2017-12-11T17:15:16.000647
Myong
pythondev_help_Myong_2017-12-11T17:15:16.000647
1,513,012,516.000647
103,356
pythondev
help
and do multiple selects on the other menu
2017-12-11T17:15:24.000462
Myong
pythondev_help_Myong_2017-12-11T17:15:24.000462
1,513,012,524.000462
103,357
pythondev
help
one sec
2017-12-11T17:15:26.000288
Myong
pythondev_help_Myong_2017-12-11T17:15:26.000288
1,513,012,526.000288
103,358
pythondev
help
Yeah, I guess it just needs to physically be entered. It doesn't pick up anything in those menus at all it would seem.
2017-12-11T17:19:32.000073
Myong
pythondev_help_Myong_2017-12-11T17:19:32.000073
1,513,012,772.000073
103,359
pythondev
help
The request just brings you back to the page to select everything, so I'm not sure what I'm missing
2017-12-11T17:19:57.000266
Myong
pythondev_help_Myong_2017-12-11T17:19:57.000266
1,513,012,797.000266
103,360
pythondev
help
let me try to post again with python instead of just entering the url...
2017-12-11T17:20:22.000155
Myong
pythondev_help_Myong_2017-12-11T17:20:22.000155
1,513,012,822.000155
103,361
pythondev
help
what url are you posting to? `<http://wireless2.fcc.gov/UlsApp/AsrSearch/asrResults.jsp?searchType=TRA>`?
2017-12-11T17:21:58.000431
Antionette
pythondev_help_Antionette_2017-12-11T17:21:58.000431
1,513,012,918.000431
103,362
pythondev
help
yeah
2017-12-11T17:23:03.000446
Myong
pythondev_help_Myong_2017-12-11T17:23:03.000446
1,513,012,983.000446
103,363
pythondev
help
I guess it might actually be grabbing the content
2017-12-11T17:23:15.000576
Myong
pythondev_help_Myong_2017-12-11T17:23:15.000576
1,513,012,995.000576
103,364
pythondev
help
Gotta find the function to pretty print it
2017-12-11T17:23:28.000255
Myong
pythondev_help_Myong_2017-12-11T17:23:28.000255
1,513,013,008.000255
103,365
pythondev
help
Yeah not sure at this point actually.
2017-12-11T17:24:51.000272
Myong
pythondev_help_Myong_2017-12-11T17:24:51.000272
1,513,013,091.000272
103,366
pythondev
help
You could try writing the response to a file and then opening that local file in a browser to see if it matches what you'd be expecting
2017-12-11T17:26:26.000320
Antionette
pythondev_help_Antionette_2017-12-11T17:26:26.000320
1,513,013,186.00032
103,367
pythondev
help
alternatively the title of the results page is `ASR Registration Search Results` whereas the title of the search page is `ASR Advanced Registration Search` so you might be able to do a quick check of that to see if the page is at least right even if its a bit harder to check if the results match what you'd expect
2017-12-11T17:27:50.000405
Antionette
pythondev_help_Antionette_2017-12-11T17:27:50.000405
1,513,013,270.000405
103,368
pythondev
help
Yeah it's the search itself, not the results
2017-12-11T17:32:05.000283
Myong
pythondev_help_Myong_2017-12-11T17:32:05.000283
1,513,013,525.000283
103,369
pythondev
help
ah kk
2017-12-11T17:33:10.000382
Antionette
pythondev_help_Antionette_2017-12-11T17:33:10.000382
1,513,013,590.000382
103,370
pythondev
help
I'm heading out now so I'll take a look into it tomorrow.
2017-12-11T17:37:04.000238
Myong
pythondev_help_Myong_2017-12-11T17:37:04.000238
1,513,013,824.000238
103,371
pythondev
help
Thanks for your help <@Antionette> :taco:
2017-12-11T17:37:14.000331
Myong
pythondev_help_Myong_2017-12-11T17:37:14.000331
1,513,013,834.000331
103,372
pythondev
help
kk, feel free to send me the actual code your using and I can take a look at in a bit
2017-12-11T17:37:27.000139
Antionette
pythondev_help_Antionette_2017-12-11T17:37:27.000139
1,513,013,847.000139
103,373
pythondev
help
hello, So lets say we have to process a list and compare every list indice to the next indice like this: if foo(list[n]) == bar(list[n+1): The way I implemented that in my script (ignoring what the foo and bar actually do) is something like this:
2017-12-11T18:11:19.000297
Ora
pythondev_help_Ora_2017-12-11T18:11:19.000297
1,513,015,879.000297
103,374
pythondev
help
And i feel like it's really unpythonic and bad : &lt;
2017-12-11T18:12:02.000157
Ora
pythondev_help_Ora_2017-12-11T18:12:02.000157
1,513,015,922.000157
103,375
pythondev
help
maybe try using enumerate and compare backwards instead of forwards
2017-12-11T18:20:22.000170
Marilyn
pythondev_help_Marilyn_2017-12-11T18:20:22.000170
1,513,016,422.00017
103,376
pythondev
help
So you want to compare each value in list to the next one, but you're actually doing `foo(value_1)` to `bar(next_value)`
2017-12-11T18:21:57.000525
Glinda
pythondev_help_Glinda_2017-12-11T18:21:57.000525
1,513,016,517.000525
103,377
pythondev
help
no, a value needs to be compared only to the next value
2017-12-11T18:22:43.000211
Ora
pythondev_help_Ora_2017-12-11T18:22:43.000211
1,513,016,563.000211
103,378
pythondev
help
So what is `foo` and `bar` in your syntax?
2017-12-11T18:23:13.000190
Glinda
pythondev_help_Glinda_2017-12-11T18:23:13.000190
1,513,016,593.00019
103,379
pythondev
help
doesn't matter i think really, i'm just asking if writing code this way is good, actually we could get rid of foo and bar and just compare the values. The code actually works, but i think it could be made more readable
2017-12-11T18:24:53.000207
Ora
pythondev_help_Ora_2017-12-11T18:24:53.000207
1,513,016,693.000207
103,380
pythondev
help
```def compare(input): for first, second in zip(input, input[1:]): if first == second: print('hooray!') if __name__ == '__main__': input = [1,2,3,4,5,6] input2 = [1,2,3,4,4,6] compare(input) compare(input2)```
2017-12-11T18:27:03.000309
Glinda
pythondev_help_Glinda_2017-12-11T18:27:03.000309
1,513,016,823.000309
103,381
pythondev
help
That shouldwork nicely.
2017-12-11T18:28:23.000267
Glinda
pythondev_help_Glinda_2017-12-11T18:28:23.000267
1,513,016,903.000267
103,382
pythondev
help
awww this is so nice !
2017-12-11T18:28:44.000017
Ora
pythondev_help_Ora_2017-12-11T18:28:44.000017
1,513,016,924.000017
103,383
pythondev
help
thanks : D
2017-12-11T18:28:48.000020
Ora
pythondev_help_Ora_2017-12-11T18:28:48.000020
1,513,016,928.00002
103,384
pythondev
help
replacing `==` with `is` also works for integers and strings
2017-12-11T18:29:39.000019
Glinda
pythondev_help_Glinda_2017-12-11T18:29:39.000019
1,513,016,979.000019
103,385
pythondev
help
gotta remember that
2017-12-11T18:30:20.000419
Ora
pythondev_help_Ora_2017-12-11T18:30:20.000419
1,513,017,020.000419
103,386
pythondev
help
on a side note
2017-12-11T18:30:26.000468
Ora
pythondev_help_Ora_2017-12-11T18:30:26.000468
1,513,017,026.000468
103,387
pythondev
help
is it normal for a begginer that slowly starts to write code that actually does sometging meaningful, to look at my code and think "this is such a mess", even if it works? Also, do you know a good place where i can show more experienced people my code for review? I know there is a code review subreddit but didn't see m...
2017-12-11T18:32:19.000035
Ora
pythondev_help_Ora_2017-12-11T18:32:19.000035
1,513,017,139.000035
103,388
pythondev
help
1. I can't answer this one, I learned python after c/c++ so even the simple things looked less messier. 2. You can probably show anywhere you want, but there's _sooo_ many things to improve on don't feel bad if you're writing "bad" code. Just keep improving.
2017-12-11T18:36:36.000058
Glinda
pythondev_help_Glinda_2017-12-11T18:36:36.000058
1,513,017,396.000058
103,389
pythondev
help
trying to, thanks for the help : )
2017-12-11T18:37:59.000126
Ora
pythondev_help_Ora_2017-12-11T18:37:59.000126
1,513,017,479.000126
103,390
pythondev
help
To clarify 1. Python looked much cleaner than c++
2017-12-11T18:40:36.000300
Glinda
pythondev_help_Glinda_2017-12-11T18:40:36.000300
1,513,017,636.0003
103,391
pythondev
help
Team,i need some help in running a python script which is on windows via ubuntu machine
2017-12-12T02:30:07.000156
Sara
pythondev_help_Sara_2017-12-12T02:30:07.000156
1,513,045,807.000156
103,392
pythondev
help
i have created a paramiko session to that machine
2017-12-12T02:30:19.000128
Sara
pythondev_help_Sara_2017-12-12T02:30:19.000128
1,513,045,819.000128
103,393
pythondev
help
and when i pass this command to exec command func of paramiko command = 'cmd.exe /c "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\python.exe C:\pythonattempt\try.py"
2017-12-12T02:31:01.000034
Sara
pythondev_help_Sara_2017-12-12T02:31:01.000034
1,513,045,861.000034
103,394
pythondev
help
its not working
2017-12-12T02:31:03.000166
Sara
pythondev_help_Sara_2017-12-12T02:31:03.000166
1,513,045,863.000166
103,395
pythondev
help
can some one guide me here
2017-12-12T02:31:09.000056
Sara
pythondev_help_Sara_2017-12-12T02:31:09.000056
1,513,045,869.000056
103,396
pythondev
help
i have ssh server running on that machine
2017-12-12T02:31:19.000106
Sara
pythondev_help_Sara_2017-12-12T02:31:19.000106
1,513,045,879.000106
103,397
pythondev
help
can you import another python script only if time is in range ?
2017-12-12T04:22:33.000459
Marg
pythondev_help_Marg_2017-12-12T04:22:33.000459
1,513,052,553.000459
103,398
pythondev
help
Hi all. I have little problem with performance may little function: ``` import itertools def removNb(n): numbers = list(range(1, n + 1)) pairs = list(itertools.combinations(numbers, 2)) total = sum(numbers) pairs = list(filter(lambda par: par[0] * par[1] == total - (par[0] + par[1]), pairs)) resul...
2017-12-12T05:31:10.000303
Hipolito
pythondev_help_Hipolito_2017-12-12T05:31:10.000303
1,513,056,670.000303
103,399
pythondev
help
Could you explain what is the end goal of the function ? :slightly_smiling_face:
2017-12-12T05:33:26.000004
Ciera
pythondev_help_Ciera_2017-12-12T05:33:26.000004
1,513,056,806.000004
103,400
pythondev
help
a sorry
2017-12-12T05:34:55.000208
Hipolito
pythondev_help_Hipolito_2017-12-12T05:34:55.000208
1,513,056,895.000208
103,401
pythondev
help
He says that the product of a and b should be equal to the sum of all numbers in the sequence, excluding a and b. Given a number n, could you tell me the numbers he excluded from the sequence? The function takes the parameter: n (n always n &gt; 0) and returns an list of the form: `[(a, b), ...]` It happens that there ...
2017-12-12T05:38:25.000319
Hipolito
pythondev_help_Hipolito_2017-12-12T05:38:25.000319
1,513,057,105.000319
103,402