Python With Avirup
It is widely used to build scalable web applications. Python is one of the most loved programming languages by developers, data scientists, software engineers, and even hackers because of its versatility, flexibility, and object-oriented features. ... Although it's a high-level language and can do complex tasks, Python is easy to learn and has a clean syntax.
>>>
>>> dictionary={"key":"value"}
>>> print(dictionary["key"])
value
>>> d={"a":[1,2,3],"b":(4,5,9),"c":"value","d":1}
>>> print(d["a"])
[1, 2, 3]
>>> print(type(d["a"]) )
>>> print(d["b"])
(4, 5, 9)
>>> print(type(d["c"]))
>>> print(d["d"])
1
>>> print(type(d["d"]))
>>>
>>> if..
>>> x=[10,20,30,40]
>>> if(len(x)>1):.. if(10,20 in x):.. print(x)..
[10, 20, 30, 40]
>>> x=3
>>> if x==2:.. print("x is equal to 2").. elif x==3:.. print("x is equal to 3").. else:.. print("x is not equal to 2 & 3")..
x is equal to 3
>>>
>>> range function using for loop..
>>> for i in range(2,10):.. print(i)..
2
3
4
5
6
7
8
9
Click here to claim your Sponsored Listing.
Category
Contact the school
Website
Address
Kolkata