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

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents