livepython.net

18. Python Program to Show That Variable Names Are Case-Sensitive

EasyNaming rules

Overview

Demonstrate Python's case sensitivity with variables.

Problem Statement

Create two variables that differ only by case and print both.

Constraints:

  • Create name = "Alice" and Name = "Bob"
  • Print both variables in one statement
  • Show they are different variables

Input

  • No input required

Output

Alice Bob

Learn this firstChapter 4 · Python Variable Naming Rules (With Examples)
solution.py
# write your code here

EXPECTED OUTPUT

1Alice Bob

YOUR OUTPUT

Press Run to see your output here. Lines are compared with the expected output.