Computer Science, asked by sabbahn518, 14 hours ago

Which of the following statements assings the value 100 to the variable x in python
-let x = 100
- x 100
- x << 100
- x = 100

Answers

Answered by naitik98
3

Answer:

x = 100

Explanation:

'=' is the simple assignment operator in python which should not be confused with '==' equality operator.

hope it helps you.

pls mark me as brainliest and do foll0w me.

Answered by anurimasingh22
0

Answer:

x = 100 assigns the value 100 to the variable x.

Explanation:

Python Variables:

Python is a high level, interpreted programming language. It is one of the most popularly used programming language.

  • A variable is a storage location with a name used to store information.
  • In Python, we can create variables by simply assigning the values to it.
  • There is no need of declaration statements as in other programming languages.
  • Assignment operator (=) in Python is used to assign the values to a variable.
  • Syntax: variable_name = value
  • Eg:

              Age = 20

              Name = 'Raj'

So, the correct option is x = 100

Learn more about Python and Python variables:

https://brainly.in/question/26661757

https://brainly.in/question/9006423

https://brainly.in/question/21878921

Similar questions