livepython.net

30. Python Program to Print the Steps of an ATM Withdrawal

EasyAlgorithms

Overview

An algorithm is a list of steps in order. Turn the ATM algorithm into a program.

Problem Statement

Print a title, then the six steps of taking money from an ATM, numbered and in order:

ATM Withdrawal\

  1. Insert your card\
  2. Enter your PIN\
  3. Choose Withdraw\
  4. Enter the amount\
  5. Take your cash\
  6. Take your card

Input

No input is required for this question.

Output

The program should output exactly the 7 lines above.

Learn this firstChapter 3 · What Is an Algorithm? Explained with Everyday Examples
solution.py
# write your code here

EXPECTED OUTPUT

1ATM Withdrawal
21. Insert your card
32. Enter your PIN
43. Choose Withdraw
54. Enter the amount
65. Take your cash
76. Take your card

YOUR OUTPUT

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