Python
List
It is a collection of multi data types enclosed in square brackets.
#List
str1 = "Hello"
num1 = 15
list1 = [str1, "India", 10, num1, 3.5]
print(list1)
output
['Hello', 'India', 10, 15, 3.5]
Python Passing arguments through function using args and kwargs args take non keyworded arguments, while kwargs take keyworded arguments. de...
No comments:
Post a Comment