Question d’entretien chez HashStudioz

1. Palindrome 2. String Sorting 3. Swap without third variable

Réponse à la question d'entretien

Utilisateur anonyme

27 oct. 2021

1) palindrome : n=int(input("") b=str(n) if(b==b[::-1]): return true else: return false 3.) swap without 3rd variable a=int(input("") b=int(input("") a,b=b,a print(a) print(b)

2