We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Built-Ins
- Python Evaluation
- Discussions
Python Evaluation
Python Evaluation
Sort by
recency
|
233 Discussions
|
Please Login in order to post a comment
var=input() eval(var) eval() evaluates the specified expression, if the expression is a legal Python statement, it will be executed
if name == 'main': var = input().strip()