Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

Can we escape something in reserved words to make it a variable’s name in Python?

Asked by Avocetyeast Sep 25, 2024 806 views 1 answer
Share

About this question

There is a Programming language C#, in which we can use a special symbol @ as a prefix to make the reserved word act as a variable name, so can we do the same type of thing in Python as well, from yield, nonlocal, and finally which of these words is a reserved word in Python.

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.