Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Caroline Louw](https://secure.gravatar.com/avatar/f70a6a0eb2ace69225e3822d0a675e23?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Caroline Louw
12,155 Pointswhat if the user types in help or show in lowercase. where do I change the code to accommodate that change?
or is there no need for that? Like in the last video for list in the python track.
2 Answers
![Jeff Muday](https://uploads.teamtreehouse.com/production/profile-photos/5900142/micro_jeff_face.jpg)
Jeff Muday
Treehouse Moderator 28,718 PointsSimple to do-- if you include the string method upper()
after new_item
like the code snippet below, you can treat lower case or mixed case inputs as if these were typed in as upper case.
Hope this helps!
if new_item.upper() == 'DONE':
break
elif new_item.upper() == 'HELP':
show_help()
continue
![Christian Beckett](https://uploads.teamtreehouse.com/production/profile-photos/10760684/micro_images.jpg)
Christian Beckett
11,123 Pointswhat you require is a string upper after new_item
if new_item.upper() == 'DONE":
break
elif new_item.upper() == 'HELP':
show_help()
continue
![Sandy Hadley](https://secure.gravatar.com/avatar/b474b20404f36a77dca0a0cce9c7dc7a?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Sandy Hadley
4,463 PointsThis will also do it:
new_item = input("> ").upper()