input() sample code;1. there is no raw_input() in Python 3, it's removed, and renamed into 'input()'
2. eval(input()) is to evalucate the integers inputed from input().
3. input(prompt) to interacte with users, the inputs are considered as strings, and only 1 arguments expected to be in parenthesis.
网友评论