| Title | Bills statistics |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/Files__65d631546bb3b6be423342e3?index=0 |
| Platform Name | PCEX |
| Features | — |
| Description | Write a program that combines the content of two files and saves it to a third file. The first file contains the usernames and passwords of the sellers, and the second file contains the price ranges of the items sold by the sellers. The first line in the file with usernames and passwords corresponds to the first line in the file with accounts, the second line in the file with user names and passwords corresponds to the second line in the file with accounts, etc. Each row of the third file should contain the seller's username, the total price of the goods they sold, and the average price of the item they sold. users.txt ana|xyz peter|abc mike|asd bills.txt 100|200|150|150|300|100 50|100|100|50 300|400|200|100|400 The generated file should be: stats.txt ana|1000.0|166.66666666666666 peter|300.0|75.0 mike|1400.0|280.0 |
| Keywords | — |
| Author | Aleksandra Klasnja Milicevic |
| Institution | Departman za matematiku i informatiku |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/Files__65d631546bb3b6be423342e3?index=0 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | PYTHON |
| Natural Language | en |