#آموزش map
list(map( lambda x: x[ 0 ], [ 'red' , 'green' , 'blue' ]))
[ 'r' , 'g' , 'b' ]
🍎🍎🍏🍏🍎🍏list(map( lambda x, y: str(x) + ' ' + y + 's' , [ 0 , 2 , 2 ], [ 'apple' , 'orange' , 'banana' ]))
[ '0 apples' , '2 oranges' , '2 bananas' ]
فرهاد ناصری زاده
@farhad3412🔰 @raspberry_python