Need help again :( | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Need help again :(

def triangle (a,b,c): if a+b<=c or b+c<=a or a+c<=b: return "Triangle does not exist" else: return True try: a=int(input()) b=int(input()) c=int(input()) triangle (a,b,c) except: print ("Make sure you input 3 numbers")

14th Jun 2019, 8:35 PM
GUUKMER_plays
GUUKMER_plays - avatar
2 Réponses
+ 2
The return statement doesn't print anything on the screen
14th Jun 2019, 8:45 PM
Airree
Airree - avatar
+ 2
print(triangle(a,b,c))
15th Jun 2019, 12:14 AM
Diego
Diego - avatar