- 8
Fill in the blanks to calculate the expression x*(x+1) using an anonymous function and call it for the number 6. a = ( x:
help
7 Answers
+ 2
because this is done with lambda and the sololearn lesson on lambda is a good read on how it works. This is a learning platform so its good to provide the askers lessons on the subject to help them learn what they are doing while writing code
+ 1
Can we please just stop posting random lesson sections in the Q&A already?
0
a = lambda x: x*(x+1)
print(a(6))
0
Janningâ not random, it's relevant for the question
0
Hi Markus Kaleton,
Please, enlighten me. Questions generally end with a question mark. This poster has posted three of these in a row in similar format.
0
a = (lambda x:x*(x+1))(6)
print(a)
don't thank me you can subscribe my youtube or... follow me on anywhere...lol...just kidding...
search hackerGprat in any sosical media you will got me there