[SOLVED] 代写 python parallel QUIZ 6

30 $

File Name: 代写_python_parallel_QUIZ_6.zip
File Size: 273.18 KB

SKU: 9606450664 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


QUIZ 6
COMP9021 PRINCIPLES OF PROGRAMMING
$python3 quiz_6.py
Enter two integers, the second one being strictly positive:0 1
Here is the grid that has been generated:
0000000000 0000000000 0000000000 0000000000 0000000000 0000000000 0000000000 0000000000 0000000000 0000000000
There is no parallelogram with horizontal sides.
$python3 quiz_6.py
Enter two integers, the second one being strictly positive:0 2
Here is the grid that has been generated:
1101111110 0100101001 1011101110 0010110100 0001001101 1010110110 1000011000 0001100111 1101011000 1001011000
The largest parallelogram with horizontal sides has a size of 4.
$python3 quiz_6.py
Enter two integers, the second one being strictly positive:0 3
Here is the grid that has been generated:
1101111111 1010100111 1101010111 1011111011 1110100111 1101110111 0010001100 1110111101 1101111101 1110100001
The largest parallelogram with horizontal sides has a size of 12.
Date: Term 3, 2019.

2 COMP9021 PRINCIPLES OF PROGRAMMING
$python3 quiz_6.py
Enter two integers, the second one being strictly positive:0 4
Here is the grid that has been generated:
1101111111 1110111001 1011111110 0010111101 1111001101 1011110111 1111011001 1001111111 1101011110 1011111001
The largest parallelogram with horizontal sides has a size of 12.
$python3 quiz_6.py
Enter two integers, the second one being strictly positive:1 4
Here is the grid that has been generated:
1010111110 1011011101 0000111011 1111111010 1101111111 0111111101 0111101011 1110111111 1011110111 1111101101
The largest parallelogram with horizontal sides has a size of 16.
$python3 quiz_6.py
Enter two integers, the second one being strictly positive:0 5
Here is the grid that has been generated:
1101111111 1111110111 1110011101 1111111110 1001011111 0111111100 1110111011 1111111011 1111111011 1001100111
The largest parallelogram with horizontal sides has a size of 15.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] 代写 python parallel QUIZ 6
30 $