Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 17274

Can you find the errors in this python code?

$
0
0
def make_list(number):    names = []    for item in number:        names.append(input("Enter your name with a capital letter."))    print(names)       number = int(input("How many names need to be entered?"))    names = make_list(number)    for name in names:        if name[1] == "A":            print("name ", name, " starts with with A") 

I just want to find the errors.


Viewing all articles
Browse latest Browse all 17274

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>