Pycharm debugger does work

I am running simple python program in the Pycharm community version. The debugger does not provide any values for variables although debugger appears to load. Just downloaded Python 3 for Pycharm.
0
4 comments

It is running on a Mac with the latest operating system.

0

Could you please provide minimal code sample to reproduce the issue?

0

def tribonacci(signature, n):

triblist = list(signature)

for x in range(0, n-3):

nextNum = triblist[x] + triblist[x+1] + triblist[x+2]
triblist.append(nextNum)

print(nextNum)

print(x)

print(triblist)

tribonacci([1,1,1], 1)

0

Sorry, the indentation is off. Is it supposed to look like this?

def tribonacci(signature, n):

triblist = list(signature)
for x in range(0, n - 3):
nextNum = triblist[x] + triblist[x + 1] + triblist[x + 2]
triblist.append(nextNum)
print(nextNum)
print(x)

print(triblist)

tribonacci([1, 1, 1], 1)
0

Please sign in to leave a comment.