Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102393

Python Calculator

From Ryan Young <ryand.young@menloschool.org>
Newsgroups comp.lang.python
Subject Python Calculator
Date 2016-02-01 11:30 -0800
Message-ID <mailman.7.1454357507.3032.python-list@python.org> (permalink)

Show all headers | View raw


I am new to Python but have known Java for a few years now. With python, so
far, so good! I created a simple calculator to calculate the total cost of
a meal. My variables were tip tax total and order. I am confused about how
to put in a new 'order' because when i reset the order variable to a
different number it still calculates the original value. I have sent you a
picture to help you understand my problem. Thank you so much!

Ryan Young

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Python Calculator Ryan Young <ryand.young@menloschool.org> - 2016-02-01 11:30 -0800
  Re: Python Calculator Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-02-02 15:43 +1100

csiph-web