You are not logged in. Please login at www.codechef.com to post your questions!

×

How to forward declare variables in Python

I would like to know how to forward declare variables in Python. I have attached a program here. Please if anyon e has time please look at it. It is a pizza ordering program. SGST and CGST are taxes in my country. I have added the taxes to the final price and it is printing the final price as well. But I want to print SGST & CGST individually ( CGST = SGST = 2.5% of final price ). Please help me if you know.

CGST = 0.025 SGST = 0.025

View Content

asked 11 Jan, 15:04

kkeima7's gravatar image

0★kkeima7
1
accept rate: 0%

converted to question 11 Jan, 18:25

vijju123's gravatar image

5★vijju123 ♦
14.4k11653

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×460
×21

question asked: 11 Jan, 15:04

question was seen: 170 times

last updated: 11 Jan, 18:26