Page 1 of 1

m 22/SP ITSE-1302-771: Coding X C answers Search х C Problem 3 (62 Points) - Write X G create comment in python х Microsof

Posted: Thu Feb 17, 2022 11:08 am
by answerhappygod
 1
1 (110.5 KiB) Viewed 26 times
m 22/SP ITSE-1302-771: Coding X C answers Search х C Problem 3 (62 Points) - Write X G create comment in python х Microsoft Word - Unit 2 Pyth X + → C 0 File C:/Users/lando/Downloads/Unit%202%20Python%20Assignment%20Instructions%20(5).pdf Microsoft Word - Unit 2 Python Assignment Instructions.docx 2 / 3 100% + : Program 2: DiscretionarySpending.py Discretionary spending is the amount of money left over after bills such as rent, utilities, and groceries have been paid. Use the pseudocode below to write the Python code for the program DiscretionarySpending. As an optional challenge, can you figure out how to display pay, totalBills, and discretionary formatted to display as currency? Example: $158.23 instead of 158.23456. What can you find on the internet to help you accomplish this task? Pseudocode: start input pay input rent input utilities input groceries totalBills = rent + utilities + groceries discretionary = pay - totalBills output pay output totalBills output discretionary stop Sample run and output below: PC Program Files (x86)\Microsoft Visual Studio Shared\Python37...