DNPotapov / Codewars-katas-

0 stars 0 forks source link

Super Duper Easy (8 kyu) #10

Open DNPotapov opened 1 year ago

DNPotapov commented 1 year ago
def problem(a):
    return (a*50)+6 if type(a) != str else "Error"
DNPotapov commented 1 year ago

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".

DNPotapov commented 1 year ago

https://www.codewars.com/kata/55a5bfaa756cfede78000026