If prompt := st.chat_input("What is up?"): - Invalid Syntax Error

Hi all,

Looking for some support in debugging why I can’t run this if prompt based on Streamlit’s documentation

App is running on locally on VSCode on Python version 3.12.2. Streamlit is fully updated.

The full error message is as follows: ```
File “/Users/admin/Desktop/Data Analytics/ChatBot.Py/main.py”, line 32
if prompt := st.chat_input(“What is up?”):
^
SyntaxError: invalid syntax
``

Would love some support / guidance on why this is the case.

Use python >= 3.8.