code: def change_case(word):
      word_with_changed_case = list(word)
      idx = sample(range(len(word)), randint(1, len(word)))
      for i in idx:
          c = word[i]
          word_with_changed_case[i] = (
              c.upper() if c.lower() == c else c.lower()
          )
      return "".join(word_with_changed_case)
  
file_path: artificial-adversary/Adversary/attacks.py
imports: from random import choice, randint, sample, randrange
  from string import punctuation
  from Adversary.constants import *
label_desc: Use image node_id 10 for calling a global function with example usage: change_case(word) and returns: str