In your code, a
, b
and c
are strings rather than integers.
Change
a = raw_input(int)
to
a = int(raw_input())
etc.
More Related Contents:
- How to set time limit on raw_input
- Python: Problem with raw_input reading a number
- raw_input and timeout [duplicate]
- Masking user input in python with asterisks
- Tab completion in Python’s raw_input()
- How to let a raw_input repeat until I want to quit?
- How do I check if raw input is integer in python 2.7?
- Backwards-compatible input calls in Python
- Behaviour of raw_input()
- NameError: name ‘raw_input’ is not defined [duplicate]
- How to use the pass statement
- How to export Keras .h5 to tensorflow .pb?
- How can I see if there’s an available and active network connection in Python?
- Dynamic instantiation from string name of a class in dynamically imported module?
- PyCharm current working directory
- Convert list to tuple in Python
- How to create module-wide variables in Python? [duplicate]
- Python Pandas Group by date using datetime data
- PyCharm import external library
- How to read bits from a file?
- Generating SIMD instructions from Cython code
- Mapping ranges of values in pandas dataframe [duplicate]
- Python pygame not installing
- create an image with border of certain width in python
- Can pip be used with Python Tools in Visual Studio?
- scipy.optimize.leastsq with bound constraints
- Convert dates to pd.to_datetime where month could be either a number or month name
- “gettext()” vs “gettext_lazy()” in Django
- How can I make a list of dictionaries according to the Cartesian product of values in a source dictionary (“explode” the dictionary)?
- how to add a coroutine to a running asyncio loop?