answersLogoWhite

0

Yes. If you have a function that squares a number, the output will be the same for both positive and negative input of the number. e.g. 22 = (-2)2

Or if you use a boolean:

If test > 0

return True

test can be equal to 1 or 2 or anything else

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
BeauBeau
You're doing better than you think!
Chat with Beau

Add your answer:

Earn +20 pts
Q: Can a function assign the same output value to two different input values?
Write your answer...
Submit
Still have questions?
magnify glass
imp