Open DNPotapov opened 1 year ago
def problem(a): return (a*50)+6 if type(a) != str else "Error"
Make a function that returns the value multiplied by 50 and increased by 6. If the value entered is a string it should return "Error".
https://www.codewars.com/kata/55a5bfaa756cfede78000026