Budget plan with python help

I am struggle to make a budget plan with python 2
the variable and float are as follow:
this is the example of how the programming should look like.

input1 = input("Enter Item 1: ")
monthly1 = float(input("Enter Item 1 Monthly Amount: "))
Enter Item 1: Food

Enter Item 1 Monthly Amount: 50.55

Enter Item 2: Rent

Enter Item 2 Monthly Amount: 300.00

Enter Item 3: Coding

Enter Item 3 Monthly Amount: 3.01

Enter Item 4: Toothpaste

Enter Item 4 Monthly Amount: 1.00

Enter Item 5: Yoga Lessons

Enter Item 5 Monthly Amount: 50.00

the instructor want us make it look this :slight:

Monthly Budget
===============================
Item        Month      Year
===============================
Food        $50.55    $606.60
Rent        $300.00   $3600.00
Coding      $3.01     $36.12
Toothpaste  $1.00     $12.00
Yoga        $50.00    $600.00

You can improve it by giving option and provide it in wider range

  1. business budget
  2. office budget
  3. home budget
  4. functional budget.etc
    give some pre-define item value according to type and some by User

Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too.

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / repl.it / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums