Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected typos in main.py #236

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ class VisMa_Prompt(Cmd):
'''This inititates the main VisMa Prompt from where user may move to CLI/GUI'''

userManual = "|_________________________________________________________________________________________________|\n"\
"| gui ->> opens Visma in GUI mode. |\n"\
"| Ctrl + D ->> Closes the prompt. |\n"\
"| gui ->> Opens Visma in GUI mode. |\n"\
"| Ctrl + D ->> Closes the prompt. |\n"\
"| exit ->> Closes the prompt. |\n"\
"|-------------------------------------------------------------------------------------------------|\n"\
"| simplify( equation or expression ) ->> Simplifies the given equation. |\n"\
"| addition( equation or expression ) ->> Adds the elements used. |\n"\
"| subtraction( equation or expression ) ->> Subtracts the elements used. |\n"\
"| multiplication( equation or expression ) ->> Multiplies the elements used. |\n"\
"| division( equation or expression ) ->> Divides the elements used. |\n"\
"| multiplication( equation or expression ) ->> Multiplies the elements used. |\n"\
"| division( equation or expression ) ->> Divides the elements used. |\n"\
"|-------------------------------------------------------------------------------------------------|\n"\
"| factorize( expression ) ->> Factorizes the expression. |\n"\
"| find-roots( equation ) ->> Solves the quadratic equation for the variable in the equation. |\n"\
"| solve( equation , variable ) ->> Solves the equation for the given variable. |\n"\
"| factorize( expression ) ->> Factorizes the expression. |\n"\
"| find-roots( equation ) ->> Solves the quadratic equation for the variable in the equation. |\n"\
"| solve( equation , variable ) ->> Solves the equation for the given variable. |\n"\
"|-------------------------------------------------------------------------------------------------|\n"\
"| integrate( expression , variable ) ->> Integrates the expression by the given variable. |\n"\
"| integrate( expression , variable ) ->> Integrates the expression by the given variable. |\n"\
"| differentiate( expression , variable ) ->> Differentiates the expression by the given variable. |\n"\
"|_________________________________________________________________________________________________|\n"\

prompt = '>>> '
intro = "Welcome! This is Visual Maths Interactive Shell...\n" + "type 'help' for a User Manual and Ctrl + D to Exit prompt\n"
intro = "Welcome! This is Visual Maths Interactive Shell...\n" + "Type 'help' for a User Manual.\n" + "Press Ctrl + D or type 'exit' to Exit prompt.\n"

def do_exit(self, inp):
'''Exits VisMa Prompt'''
Expand Down