quiz_message DEF (Grade):
outcome = 'failed' IF Grade <50 the else 'passid'
Print ( 'Grade', Grade, 'outcome', outcome)
Binary ternary operator in Python, write conditions can be simplified Analyzing
quiz_message DEF (Grade):
outcome = 'failed' IF Grade <50 the else 'passid'
Print ( 'Grade', Grade, 'outcome', outcome)
Binary ternary operator in Python, write conditions can be simplified Analyzing