We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfde143 commit 5dc8acaCopy full SHA for 5dc8aca
unit3/pro1.py
@@ -1,5 +1,12 @@
1
'''
2
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.
10
11
12
from opus7.stackAsLinkedList import StackAsLinkedList
0 commit comments