From d041fd29ea444d308d14954b44e3a643f12e0ad5 Mon Sep 17 00:00:00 2001 From: Thomas Simonini Date: Sat, 25 Feb 2023 18:16:01 +0100 Subject: [PATCH] Update hands-on.mdx --- units/en/unit2/hands-on.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/units/en/unit2/hands-on.mdx b/units/en/unit2/hands-on.mdx index baddea9..4c201a2 100644 --- a/units/en/unit2/hands-on.mdx +++ b/units/en/unit2/hands-on.mdx @@ -261,7 +261,8 @@ print("There are ", action_space, " possible actions") ``` ```python -# Let's create our Qtable of size (state_space, action_space) and initialized each values at 0 using np.zeros +# Let's create our Qtable of size (state_space, action_space) and initialized each values at 0 using np.zeros. np.zeros needs a tuple (a,b) + def initialize_q_table(state_space, action_space): Qtable = return Qtable