#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)
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.