Python Challenge | Running Total

preview_player
Показать описание
Welcome to Python code challenges. In this Python code challenge series we hope to compliment the existing Python courses on this channel. Code challenges are for people looking to sharpen their Python skills first at a beginner's level with the ambition to then move into more advanced challenges as we progress.

Challenge:
write a program that accepts 2 types of inputs, I and O and a value to keep track of quantities entered into the input
each input should be inputed so to include a value, format example: I-10 O-10, this would return a qty of 0, (10-10=0)
Users should be able to continually enter a input until all inputs have been entered
after each input the user is shown the quality update

Code Repository:
Рекомендации по теме
Комментарии
Автор

This Code could very useful when entering data from a cash book or a stock card in which the user would like to keep track of running totals. It would be more exciting if the code prints out the list of Inputs (I), Outputs (O) and the running Total (RT) in three columns representing I, O, and RT respectively. Thank you very much.

farmwithtemfranx
welcome to shbcf.ru