def func(x):
return x * 2
result = map(func, [1, 2, 3])
print(list(result))
❤3
What will be the output of the following code?
Anonymous Quiz
17%
[1, 2, 3]
59%
[2, 4, 6]
14%
[1, 4, 9]
10%
Error
❤4👍2
pysheeet.pdf
961.6 KB
Python Cheat-Sheets ✅
Do not forget to React ❤️ to this Message for More Content Like this
Thanks For Joining All ❤️❤3
Which function is used to convert a string into an integer in Python?
Anonymous Quiz
8%
float()
59%
int()
14%
str()
19%
convert()
❤2
Open_AI_Python.pdf
17 MB
Open Ai Python 🤖
Do not forget to React ❤️ to this Message for More Content Like this
Thanks For Joining All ❤️❤6🔥2
What is the output of the following code?
Anonymous Quiz
11%
[1, 2, 3]
76%
[1, 2, 3, 4]
4%
[4]
8%
Error
❤7👏1