Slip and slide

This confused me with the underscores for a bit but i figured it out. hope this helps
def flip_bit(number, n):
return bin(result)
print flip_bit(30,3)

1 Like


Please re-edit your Post

  • leave one blank-line above of your code
  • select your code in the Post
  • then =click= on the </>-symbol-of-this-editor

Your code will then be in a pre-code state
and you will be able to make/present the proper indentations.

or even better use

1 Like