Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect lambda
#4
It's only possible to create a recursive lambda if you assign in to a variable name. Otherwise you have no way to make the recursive call, you need that name. But lambda's are designed for situations where you're not assigning to a name. That's why you shouldn't assign them to names, you should just define a function.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Incorrect lambda - by vndywarhol - Aug-13-2018, 12:06 AM
RE: Incorrect lambda - by ichabod801 - Aug-13-2018, 12:16 AM
RE: Incorrect lambda - by vndywarhol - Aug-13-2018, 12:31 AM
RE: Incorrect lambda - by ichabod801 - Aug-13-2018, 02:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Code is returning the incorrect values. syntax error 007sonic 6 1,265 Jun-19-2023, 03:35 AM
Last Post: 007sonic
  error 1102 (42000) incorrect database name 's' Anldra12 4 1,734 Jun-08-2022, 09:00 AM
Last Post: Anldra12
  openpyxl incorrect delete rows VladislavM 6 4,162 Jul-19-2021, 08:54 AM
Last Post: VladislavM
  Incorrect Type Error milkycow 4 2,946 Jun-25-2021, 06:04 AM
Last Post: milkycow
  Why is 0.1 * 0.2 arithmetically incorrect? Pedroski55 2 2,246 Nov-25-2020, 12:01 AM
Last Post: snippsat
  user input producing incorrect boolean al_Czervik 4 3,105 Mar-05-2020, 09:50 PM
Last Post: al_Czervik
  Incorrect time format KoSik 5 3,076 Aug-15-2019, 05:10 PM
Last Post: KoSik
  Incorrect code output (File not being created) Hass 4 2,966 Jan-01-2019, 04:10 AM
Last Post: ichabod801
  mysql.connector - incorrect integer value Milo 3 11,242 Aug-14-2017, 06:29 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020