1Chuck downloaded installed and ran a Python program To Chuc

1.Chuck downloaded, installed, and ran a Python program. To Chuck\'s dismay, the program did not seem to be doing anything at all -- not even terminating. What could be a reason for this behavior? (Check all that apply.)

The program had a syntax error.

The program entered an infinite loop.

The program called input() without a prompt and waited for Chuck\'s input.

The program had a run-time error.

2.Why parallel lists are bad?

They cannot be processed with one \'for\' loop.

Items in both lists must be of the same data type, which is not always desirable.

They may be modified inconsistently.

The program had a syntax error.

The program entered an infinite loop.

The program called input() without a prompt and waited for Chuck\'s input.

The program had a run-time error.

Solution

Question 1:

Answer:

The program entered an infinite loop.

The program called input() without a prompt and waited for Chuck\'s input.

Question 2:

Answer:

They cannot be processed with one \'for\' loop

1.Chuck downloaded, installed, and ran a Python program. To Chuck\'s dismay, the program did not seem to be doing anything at all -- not even terminating. What

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site