Skip to content

Commit 5dc8aca

Browse files
committed
info for pro1 added
1 parent cfde143 commit 5dc8aca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

unit3/pro1.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
'''
22
RPN Calculator
3+
4+
Enhance the functionality of the RPN calculator given in Program in the following ways:
5+
Use double-precision, floating-point arithmetic.
6+
Provide the complete repertoire of basic operators: +, -, , and .
7+
Add an exponentiation operator and a unary negation operator.
8+
Add a clear method that empties the operand stack and a print method that
9+
prints out the contents of the operand stack.
310
'''
411

512
from opus7.stackAsLinkedList import StackAsLinkedList

0 commit comments

Comments
 (0)