0

i wonder if it's possible to print text that triggers an if statement when clicked on (like some type of an input)

I want to use this for displaying options. In my example there should be an output line like:

"Select a molecule to calcute its energy values: H2 HBr HCl Cl2 LiH"

And when you click on one of the bold printed structures the appropriate if statement should be triggered.

Thanks for help!

rpanai
  • 12,515
  • 2
  • 42
  • 64
Mika R.
  • 53
  • 5

0 Answers0