0

Ignor the case

so I have to compare 2 string and ignore the case so ('python', 'Python') has to equal true but I don't know how to ignore the case when compairing. this is what I have so far def istremp (x,y): if x == y: print('true') else: print ('false') how so I ignore the case

11th Oct 2018, 6:52 AM
Anjea Wilson
Anjea Wilson - avatar
1 Respuesta
+ 1
thank you
11th Oct 2018, 1:01 PM
Anjea Wilson
Anjea Wilson - avatar