Computer Science
Identify the valid arithmetic operator in Python from the following:
- ?
- <
- **
- and
Python Funda
5 Likes
Answer
**
Reason — Let's go through each option and see if its valid arithmetic operator or not:
- ? — The question mark is not a valid arithmetic operator in Python.
- < — It is a relational operator.
- ** — It is an arithmetic operator.
- and — It is a logical operator.
Answered By
2 Likes
Related Questions
Find the invalid identifier from the following :
- MyName
- True
- 2ndName
- My_Name
Which of the following is an invalid data type in Python?
- Sets
- Real
- Integer
- None of these
How are floating constants represented in Python ? Give examples to support your answer.
How are string-literals represented and implemented in Python ?