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
Math,
7 months ago
Business Studies,
7 months ago
Math,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Physics,
1 year ago