How to assign values to variables in Python and other languages
This article discusses methods to assign values to variables.
Method 1: Direct Initialisation Method
The value of a is: 5
Method 2: Using Conditional Operator (?:)
Below is the syntax in other popular languages.
The value of a is: 1
Last Updated on November 13, 2021 by admin