Q.

What are Literals? Draw a chart to represents the different types of literals used in Python.
What are Literals? Draw a chart to represents the different types of literals used in Python.

Chapter-2 | ਪਾਇਥਨ ਪ੍ਰੋਗਰਾਮਿੰਗ ਸਬੰਧੀ ਮੂਲ ਧਾਰਨਾਵਾਂ | Basic Concepts of Python Programming

Literals are fixed values that are used in the source code of a program. These values are usually assigned to program elements, such as variables, etc. The different types of literals used in Python are shown in the chart shown below:

 


post

Literals are fixed values that are used in the source code of a program. These values are usually assigned to program elements, such as variables, etc. The different types of literals used in Python are shown in the chart shown below:

post