Curbal has its own social media server on Mastodon. Check it out here!
Welcome to our Knowledge Base

Tip: Start typing in the input box for immediate search results.


Bite 4: Validate user input in python

In this Bite we are going to learn:

1. Change user name to proper casing
2. Validate different variations of a word
3. Validate any user input

Practice the basics first

Jupyter Lab notebook available here.

Bite 4: Validate user inputs and while loops | Python mystery game

The challenge

The final output of this bite is the small program below.

The solution

Bite 4 Solution: User input validation | Python mystery game
Was this helpful?

Reader Interactions

Let us know your thoughts...

Table of Contents