Apr-01-2017, 10:58 AM
(Apr-01-2017, 10:51 AM)ichabod801 Wrote: The lower method if strings is the typical way to do case-insensitive checks (that is, to catch any case format):while name.lower() != 'kate':It converts all upper case characters in the string to lower case.
Ahh genius thanks heaps works now :)
name = '' print('What is my name?') name = input() while name.lower() != 'kate': print("Guess Again") print('What is my name?') name = input() while name.lower() == 'kate': if name.lower() == 'kate': print("Got it!") break