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!

2
  • In what context? Console? Tkinter? A website? Jupyter? Commented Jan 10, 2020 at 16:28
  • In the console would bei nice Commented Jan 13, 2020 at 5:57

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.