print("inserire il numero")
numero = float (input())
if numero>0:
    d=numero*2
    print("doppio=",d)
else:
    t=numero*3
    print("triplo=",t)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: