Question: How to make this code in Python case insensitive while True: name = input ( Enter a name: ) if name == done: break if

How to make this code in Python case insensitive

while True:

name = input (" Enter a name: ")

if name == "done":

break

if name in names:

index = names.index(name)

print (f" {name} made a score of {scores[index]} ")

else:

print(f"{name} is not a player")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!