how can the variable be declared and assigned in one statement?write the general format
Answers
Answered by
0
main = lambda x: x <your function here>
In the above statement, we declare a variable 'x' and then write some function for that variable. The result of the function is stored in the 'main' variable.
The above code works for python only.
Similar questions