You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
309 B
11 lines
309 B
from data_structure import *
|
|
|
|
class Expression:
|
|
"""manipule les expression sous forme d'arbre"""
|
|
def __init__(self, val, fils_gauche, fils_droit) -> None:
|
|
self.Val = val
|
|
self.fils_gauche = fils_gauche
|
|
self.fils_droit = fils_droit
|
|
|
|
def evalue(self, val: float):
|
|
pass
|