saving . . . saved built-in func are valid/ invalid var name has been deleted. built-in func are valid/ invalid var name has been hidden .
built-in func are valid/ invalid var name
Title
Question
Can built-in functions be used as valid variable names.

Python-3.4.3 Getting-started-with-Lists 03-04 min 0-10 sec 22-06-19, 12:18 p.m. ankush.ankush

Answers:

They can be used as variable names. Python will not throw an error if you do

However, it is strictly advised NOT to do so, since in case you intend to use the built in function in your script after such an assignment, the function will not work as intended
22-06-19, 12:23 p.m. ankitrj.iitb
thank u.
22-06-19, 12:26 p.m. ankush.ankush

Login to add comment


Log-in to answer to this question.