Question d’entretien chez Synavos

Can write a function which inputs two ints and check if it is 3 it should return 6 if input is 6 return 3, without using any condition.

Réponses aux questions d'entretien

Utilisateur anonyme

30 juil. 2019

I did not knew.

Utilisateur anonyme

30 sept. 2019

return 9 - number

Utilisateur anonyme

15 oct. 2019

Swap them and return

Utilisateur anonyme

8 févr. 2021

Sir, I have done this in the cycle of looking at celery. Please forgive me . If I am a second semester child now, I will join your company after completing my degree, God willing.Sir, you can help me become a good program .Sir, forgive me if I have done anything wrong

2

Utilisateur anonyme

13 août 2020

we can do this by using Not operater

1