From 9c0f2378bb0aa263fd3bba3146c280fda158fd4f Mon Sep 17 00:00:00 2001 From: Mayank SIngh <30663174+pk0011@users.noreply.github.com> Date: Fri, 2 Oct 2020 11:35:14 +0530 Subject: [PATCH] Update 05_lists.py A list can be consist of values of different datatypes. --- src/05_lists.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/05_lists.py b/src/05_lists.py index cfccc4e945..2f46a115f7 100644 --- a/src/05_lists.py +++ b/src/05_lists.py @@ -22,8 +22,13 @@ # YOUR CODE HERE print(x) +# Change x so that it is [1, 2, "Hello", "World", 4.5, "a"] +# YOUR CODE HERE +print(x) + + # Print the length of list x # YOUR CODE HERE # Print all the values in x multiplied by 1000 -# YOUR CODE HERE \ No newline at end of file +# YOUR CODE HERE