Looking for [25-26] Algorithmique avancée 2 [S3] [SPE] test answers and solutions? Browse our comprehensive collection of verified answers for [25-26] Algorithmique avancée 2 [S3] [SPE] at moodle.esme.fr.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
La fonction get_probs("hello", toy_model) renvoie une distribution correcte (non uniforme)
Entrez vos prénom(s) et nom(s) :
What is the output of the following code?
def f(x):
if (x > 50):
return x - 5
return f(x+10)
print(f(
10))What is the output of the following python code?
def f(x, y):
if(x==0):
return y
else:
return f(x-1,x+y)
print(f(
2,5))What does the following python code display?
myst = lambda a, b: lambda x: a*x+b
f = myst(
2,3)
print(f(
3))