207k views
0 votes
Python-What is the fix? I’m do desperate.

Python-What is the fix? I’m do desperate.-example-1
User Utku Can
by
3.6k points

1 Answer

6 votes

Answer:

numbers.append(z)

should have round parenthesis and should (probably) be indented like the z=... line.

Step-by-step explanation:

It is unclear what you expect the program to do.

In the last line you probably don't want the and-operator, but something like this:

print("{} and {}".format(numbers[0], numbers[4]))

User Kenneth Rory Dunn
by
3.3k points