answersLogoWhite

0


Best Answer

Use a character variable. For example:

plus = '+'

minus = '-'

You can now refer to these symbols using the variable names "plus" or "minus".

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you define a symbol such as plus or - as a variable in python?
Write your answer...
Submit
Still have questions?
magnify glass
imp