problem in pythagores triplet code using functions | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

problem in pythagores triplet code using functions

This is giving false output while input is correct Like input is 3, 5 & 4 https://code.sololearn.com/cNHyCsy323ND/?ref=app

29th Apr 2021, 8:46 PM
Tejas Vishwakarma
1 Respuesta
+ 4
The local variable y in the check() function is not being used. So, you are being given a warning (not an error). You can comment out lines 7, 12, 15, and 19 as they currently have no impact on the programs function.
29th Apr 2021, 9:00 PM
ChaoticDawg
ChaoticDawg - avatar