Course Solutions Uncategorized (Solved) : Hi Problem Def Program Wrote Ran Program Shows Traceback Recent Call Last File Line 8 Max Q29223661 . . . .

(Solved) : Hi Problem Def Program Wrote Ran Program Shows Traceback Recent Call Last File Line 8 Max Q29223661 . . . .

 

Hi, I have the problem with the “def”

This is the program that I wrote:firstNumbereval(inputCEnter first number:) secondNumbereval(input( Enter second number: )) thirdNumbereval(inputCEnter third number:) max-firstNmuber if secondNumber > max: max-secondNumber print( The secondNumber is max else: print( The firstNumber is max) if thirdNumber max: max-thirdNumber print( The thirdNumber is max) else: print( The secondNumber is max

But when I ran the program, it shows:

Traceback (most recent call last):
File , line 8, in <module>
max = firstNmuber
NameError: name ‘firstNmuber’ is not defined

Can you help me to edit the program?

firstNumbereval(inputC”Enter first number:”) secondNumbereval(input(” Enter second number: “)) thirdNumbereval(inputC”Enter third number:”)

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post