The pas verification function in Python

Vladislav
Employer

[no-member:pro]Vladislav[/no-member:pro]

1 projects
Project parameters
Type of cooperationOne-time project
Prepaymentwithout prepayment
Payment methodsElectronic money
Acceptance of requestsfrom until Jul 6, 2020
Project description
It requires a function to check the program written on PascalABC.NET.

Entrance: 1. A string with a file name, such as "test.pas"2. The data on the input of the program 3. A list of data that should be on the way out.

The function must be returned to True or False, depending on whether the result obtained from the program coincided with what was given in paragraph 3.

P.s. Note that the program being tested can be used and readln(), read(), write(), and writeln().
Project author: [no-member:pro]Vladislav[/no-member:pro]