Saturday, May 9, 2020

Python Class 112 - Kapil Sharma



#Sets are random array of unique datasets myData1 = [1,2,3,4,5,4,3,2,1]my_result = set(myData1)print(my_result)

#Example-2: myData2 = {'iphone':900, 'Samsung': 750, 'Google': 200}print(myData2)print(myData2['iphone'])print('LG' in myData2)print('LG' not in myData2)



#Operators example-3:

print(5<7)
print(5>7)
print(5<=7)
print(5>=7)

https://github.com/bornfreesoul/PythonLessons

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...