Created by cahier-algo-2de-indice2019
Created on December 03, 2018
96 Bytes
def f(x): if x<1: y=x**2 else: y=2*x-1 return(y)