Friday, May 15, 2020

Python Class 120 - Kapil Sharma


def square(num):
    return num**2my_nums = [1,2,3,4,5]
for item in map(square,my_nums):
    print(item)

==================================

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