From 64299a97737e91978c8d46b81f570b71e8bfc930 Mon Sep 17 00:00:00 2001 From: SebastianoF Date: Sun, 17 Nov 2019 20:06:26 +0000 Subject: [PATCH] dict progresses --- questsions_dict.py | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/questsions_dict.py b/questsions_dict.py index 929efd7..25d8e32 100644 --- a/questsions_dict.py +++ b/questsions_dict.py @@ -6,26 +6,21 @@ qha = { """ import numpy as np """, + "q2": "2. Print the numpy version and the configuration (★☆☆)", + "h2": "hint: np.__version__, np.show_config)", + "a2": +""" + +""", + "q3": "3. Create a null vector of size 10 (★☆☆)", + "h3": "hint: np.zeros", + "a3": +""" + +""", + } -# #### -# -# (**hint**: import … as …) -# -# -# -# #### 2. Print the numpy version and the configuration (★☆☆) -# -# (**hint**: np.\_\_version\_\_, np.show\_config) -# -# -# -# #### 3. Create a null vector of size 10 (★☆☆) -# -# (**hint**: np.zeros) -# -# -# # #### 4. How to find the memory size of any array (★☆☆) # # (**hint**: size, itemsize)