Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON gasprices.txt content:: 1-1-2021:7 2-1-2021:5 3-1-2021:6 4-1-2021:6 5-1-2021:5 6-1-2021:6 7-1-2021:10 8-1-2021:13 9-1-2021:11 10-1-2021:14 11-1-2021:16 12-1-2021:18 13-1-2021:20 14-1-2021:19 15-1-2021:19 16-1-2021:20 17-1-2021:21 18-1-2021:23 19-1-2021:28 20-1-2021:33 21-1-2021:32 22-1-2021:36

PYTHON
gasprices.txt content::
1-1-2021:7
2-1-2021:5
3-1-2021:6
4-1-2021:6
5-1-2021:5
6-1-2021:6
7-1-2021:10
8-1-2021:13
9-1-2021:11
10-1-2021:14
11-1-2021:16
12-1-2021:18
13-1-2021:20
14-1-2021:19
15-1-2021:19
16-1-2021:20
17-1-2021:21
18-1-2021:23
19-1-2021:28
20-1-2021:33
21-1-2021:32
22-1-2021:36
23-1-2021:35
24-1-2021:39
25-1-2021:38
26-1-2021:37
27-1-2021:40
28-1-2021:43
29-1-2021:43
30-1-2021:43
31-1-2021:41
1-2-2021:43
2-2-2021:47
3-2-2021:51
4-2-2021:49
5-2-2021:47
6-2-2021:45
7-2-2021:50
8-2-2021:53
9-2-2021:51
10-2-2021:49
11-2-2021:48
12-2-2021:52
13-2-2021:51
14-2-2021:51
15-2-2021:55
16-2-2021:53
17-2-2021:53
18-2-2021:51
19-2-2021:53
20-2-2021:52
21-2-2021:56
22-2-2021:61
23-2-2021:62
24-2-2021:65
25-2-2021:66
26-2-2021:68
27-2-2021:67
28-2-2021:68
1-3-2021:66
2-3-2021:70
3-3-2021:72
4-3-2021:73
5-3-2021:72
6-3-2021:71
7-3-2021:70
8-3-2021:70
9-3-2021:75
10-3-2021:74
11-3-2021:73
12-3-2021:75
13-3-2021:80
14-3-2021:81
15-3-2021:81
16-3-2021:83
17-3-2021:88
18-3-2021:89
19-3-2021:89
20-3-2021:90
21-3-2021:88
22-3-2021:89
23-3-2021:92
24-3-2021:96
25-3-2021:96
26-3-2021:99
27-3-2021:99
28-3-2021:99
29-3-2021:101
30-3-2021:104
31-3-2021:106
1-4-2021:104
2-4-2021:107
3-4-2021:107
4-4-2021:112
5-4-2021:113
6-4-2021:115
7-4-2021:116
8-4-2021:121
9-4-2021:125
10-4-2021:124
11-4-2021:128
12-4-2021:129
13-4-2021:129
14-4-2021:133
15-4-2021:135
16-4-2021:139
17-4-2021:141
18-4-2021:144
19-4-2021:147
20-4-2021:148
21-4-2021:150
22-4-2021:148
23-4-2021:149
24-4-2021:148
25-4-2021:146
26-4-2021:150
27-4-2021:155
28-4-2021:155
29-4-2021:153
30-4-2021:156
1-5-2021:159
2-5-2021:160
3-5-2021:163
4-5-2021:167
5-5-2021:171
6-5-2021:170
7-5-2021:170
8-5-2021:169
9-5-2021:170
10-5-2021:174
11-5-2021:172
12-5-2021:175
13-5-2021:174
14-5-2021:176
15-5-2021:179
16-5-2021:180
17-5-2021:182
18-5-2021:184
19-5-2021:189
20-5-2021:191
21-5-2021:191
22-5-2021:192
23-5-2021:197
24-5-2021:197
25-5-2021:200
26-5-2021:204
27-5-2021:208
28-5-2021:211
29-5-2021:210
30-5-2021:212
31-5-2021:215
1-6-2021:218
2-6-2021:220
3-6-2021:225
4-6-2021:226
5-6-2021:231
6-6-2021:233
7-6-2021:232
8-6-2021:232
9-6-2021:231
10-6-2021:232
11-6-2021:234
12-6-2021:238
13-6-2021:243
14-6-2021:244
15-6-2021:247
16-6-2021:245
17-6-2021:250
18-6-2021:248
19-6-2021:246
20-6-2021:251
21-6-2021:253
22-6-2021:257
23-6-2021:256
24-6-2021:261
25-6-2021:266
26-6-2021:271
27-6-2021:276
28-6-2021:280
29-6-2021:278
30-6-2021:280
1-7-2021:284
2-7-2021:287
3-7-2021:292
4-7-2021:294
5-7-2021:298
6-7-2021:297
7-7-2021:302
8-7-2021:302
9-7-2021:306
10-7-2021:308
11-7-2021:313
12-7-2021:315
13-7-2021:316
14-7-2021:318
15-7-2021:321
16-7-2021:325
17-7-2021:325
18-7-2021:324
19-7-2021:323
20-7-2021:323
21-7-2021:321
22-7-2021:326
23-7-2021:325
24-7-2021:328
25-7-2021:329
26-7-2021:334
27-7-2021:336
28-7-2021:338
29-7-2021:338
30-7-2021:340
31-7-2021:338
1-8-2021:342
2-8-2021:340
3-8-2021:338
4-8-2021:339
5-8-2021:342
6-8-2021:342
7-8-2021:342
8-8-2021:344
9-8-2021:348
10-8-2021:348
11-8-2021:353
12-8-2021:358
13-8-2021:356
14-8-2021:356
15-8-2021:356
16-8-2021:354
17-8-2021:353
18-8-2021:353
19-8-2021:358
20-8-2021:363
21-8-2021:363
22-8-2021:367
23-8-2021:365
24-8-2021:364
25-8-2021:366
26-8-2021:370
27-8-2021:371
28-8-2021:370
29-8-2021:373
30-8-2021:374
31-8-2021:379
1-9-2021:380
2-9-2021:383
3-9-2021:386
4-9-2021:387
5-9-2021:387
6-9-2021:390
7-9-2021:392
8-9-2021:394
9-9-2021:393
10-9-2021:398
11-9-2021:396
12-9-2021:394
13-9-2021:394
14-9-2021:399
15-9-2021:400
16-9-2021:398
17-9-2021:397
18-9-2021:402
19-9-2021:401
20-9-2021:401
21-9-2021:403
22-9-2021:402
23-9-2021:400
24-9-2021:404
25-9-2021:404
26-9-2021:406
27-9-2021:411
28-9-2021:412
29-9-2021:417
30-9-2021:415
1-10-2021:418
2-10-2021:417
3-10-2021:416
4-10-2021:417
5-10-2021:420
6-10-2021:420
7-10-2021:421
8-10-2021:422
9-10-2021:422
10-10-2021:420
11-10-2021:419
12-10-2021:423
13-10-2021:426
14-10-2021:430
15-10-2021:434
16-10-2021:433
17-10-2021:431
18-10-2021:430
19-10-2021:433
20-10-2021:437
21-10-2021:435
22-10-2021:440
23-10-2021:440
24-10-2021:438
25-10-2021:436
26-10-2021:438
27-10-2021:436
28-10-2021:437
29-10-2021:440
30-10-2021:443
31-10-2021:442
1-11-2021:444
2-11-2021:442
3-11-2021:440
4-11-2021:441
5-11-2021:441
6-11-2021:445
7-11-2021:444
8-11-2021:444
9-11-2021:444
10-11-2021:447
11-11-2021:448
12-11-2021:452
13-11-2021:454
14-11-2021:458
15-11-2021:460
16-11-2021:460
17-11-2021:458
18-11-2021:458
19-11-2021:460
20-11-2021:460
21-11-2021:461
22-11-2021:462
23-11-2021:462
24-11-2021:460
25-11-2021:462
26-11-2021:465
27-11-2021:470
28-11-2021:468
29-11-2021:468
30-11-2021:471
1-12-2021:475
2-12-2021:480
3-12-2021:479
4-12-2021:482
5-12-2021:483
6-12-2021:484
7-12-2021:482
8-12-2021:480
9-12-2021:482
10-12-2021:486
11-12-2021:484
12-12-2021:483
13-12-2021:484
14-12-2021:483
15-12-2021:482
16-12-2021:487
17-12-2021:485
18-12-2021:487
19-12-2021:486
20-12-2021:485
21-12-2021:484
22-12-2021:488
23-12-2021:493
24-12-2021:498
25-12-2021:499
26-12-2021:502
27-12-2021:504
28-12-2021:509
29-12-2021:507
30-12-2021:506
31-12-2021:508
image text in transcribed
(25pts) The file linked below contains the hypothetical gas prices for each day within a year. You are asked to display the days that have prices bigger than the average price using Python coding Learning ToolElement/View.earningToolElement.aspx?Learning ToolElementid-1869440

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions