Joined October 2022
2 Photos and videos
#python List Question Subscribe for more contest : lnkd.in/etS6wnkq What will be the output of the following code? def f(value, values): v = 1 values[0] = 44 t = 3 v = [1, 2, 3] f(t, v) print(t, v[0])
0% 3 1
100% 3 44
0% 1 1
0% 3 4
1 votes • Final results
5
Python Code Tip: #data #Structure Creating a List in Python Lists in Python can be created by just placing the sequence inside the square brackets[]. Unlike Sets, a list doesn’t need a built-in function for its creation of a list. #python #100daysofcoding #list
3
Python Code Tip: #data #structure What is a Data Structure? Data Structures allows you to organize your data in such a way that enables you to store collections of data, relate them and perform operations on them accordingly. #python #code
3