def html_tag( tag ): def body( msg ): print( "hi! :", msg ) def inn_body( msg1 ): print( "hola: ", msg1 ) return inn_body return body h1 = html_tag( "h1" ) h1( "varshini" ) h1( "subiksha" )/// How do i access the inn_body()?
accessing a second level nested function
accessing a second level nested function
|
|
Messages In This Thread |
accessing a second level nested function - by varsh - Aug-09-2020, 11:04 AM
RE: accessing a second level nested function - by Yoriz - Aug-09-2020, 03:29 PM
RE: accessing a second level nested function - by deanhystad - Aug-09-2020, 03:40 PM
RE: accessing a second level nested function - by varsh - Aug-13-2020, 06:57 AM
|
Users browsing this thread: 2 Guest(s)