partie3_ex79.py

Created by cahier-indice-algo-1gen

Created on April 22, 2022

145 Bytes


from math import *

def conv(x, u):
    if u == 'r':
        return x / pi * 180
    if u == 'd':
        return x / 180 * pi