Python Forum
Run the code for some stuff it does not return me why
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run the code for some stuff it does not return me why
#2
The following lines
    src = []
    x = int(input("Enter total number of leaf nodes:"))
    for i in range(x):
        y = int(input("Enter node value:"))
        src.append(y)
         
         
    depth = int(input("Enter Depth value"))
    node = int(input("Enter node value:"))
     
    print("the Optimla value is:",fun_AlphaBeta(depth,node,True,scr,minimum,maximium))
Are indented into your function fun_AlphaBeta
Anldra12 likes this post
Reply


Messages In This Thread
RE: Run the code for some stuff it does not return me why - by Yoriz - Apr-19-2021, 11:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to print stuff from while loop Nick1507 4 2,406 Sep-17-2020, 02:26 PM
Last Post: Nick1507
  code doesnt return anything ofrihemo 3 2,091 Jun-30-2020, 05:14 PM
Last Post: ofrihemo
  How Do I Install Stuff for Python? CopBlaster 6 3,289 May-08-2020, 12:27 PM
Last Post: hussainmujtaba
  Learning to have Class and doing stuff with it... bako 2 2,048 Apr-29-2020, 05:07 PM
Last Post: bako
  Automate the boring stuff : the tic tac toe game DJ_Qu 7 6,751 Apr-24-2019, 12:22 PM
Last Post: ichabod801
  python code (embedded in Redshift) to return result of the query Mel 0 2,484 Aug-24-2018, 06:12 PM
Last Post: Mel
  More List Stuff Zman350x 3 3,480 Mar-11-2018, 12:20 AM
Last Post: Zman350x
  Need help importing stuff that python says it cant open Tiaan 2 2,889 Nov-30-2017, 09:54 PM
Last Post: Tiaan

Forum Jump:

User Panel Messages

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