Skip to content

Instantly share code, notes, and snippets.

@under0tech
Created September 16, 2022 19:16
Show Gist options
  • Save under0tech/6c6b90af27a6ac6315e393049350c516 to your computer and use it in GitHub Desktop.
Save under0tech/6c6b90af27a6ac6315e393049350c516 to your computer and use it in GitHub Desktop.
if bool(predictions) == True and len(predictions) > 0:
predictions_list = [str(d)+'$' for d in predictions]
predictions_str = ', '.join(predictions_list)
message = f'{STOCK} prediction for upcoming 3 days ({predictions_str})'
print(message)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment