Rules for Naming a Variable in Python | Part 9

Pubblicato il: 15 ottobre 2021
sul canale di: Tutor4uOnline
32
7

Rules for creating variables in Python:

A variable name must start with a letter or the underscore character.
A variable name cannot start with a number.
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ).
Variable names are case-sensitive (name, Name, and NAME are three different variables).

The reserved words(keywords) cannot be used to name the variable.

Visit Us : http://tutor4uonline.com/
  / tutor4uonlinecom  

#python #pythonBasics #variableNaming #onlinetuition #tutor4uonline


In questa pagina del sito puoi guardare il video online Rules for Naming a Variable in Python | Part 9 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tutor4uOnline 15 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 32 volte e gli è piaciuto 7 spettatori. Buona visione!