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.

Print

Bite 1: Print, user input, variables

In this Bite we are going to learn:

1. How to print text
2. How to get user inputs
3. How to create variables
4. How to concatenate text and variables.

Theory

Jupyter Lab notebook available here.

Bite 1: Print, user input and variables  | Python mystery game

Practice

In this first bite you will learn how to create a program that will ask a user for his or her name and then greet them back.

NOTE: Don’t worry about validating the answer yet. We will do that on another Bite.

The solution

Bite Solution 1: Print, user input, variables | Python mystery game
Was this helpful?

Reader Interactions

Let us know your thoughts...

Table of Contents