我想实现后缀表达式的评价,这里是我的代码: #include<iostream>
#include<string.h>
using namespace std;
template < class T > class Stack {
private:
T * s;
int n;
public:
Stack(int maxn) {
s = new T
有什么办法可以让我的输出放在16行中?这些行还需要有16列垂直排列。我想在不输入任何内容的情况下执行此操作。 def main():
# asks the user to input key
key = input("Enter a key [6-15 characters]: ")
s = []
# append all items in list