Find Error and write correct statement
a. >>>b=india
Answers
Answered by
1
Explanation:
The area where a particular organism lives naturally is called its habitat. The five major habitats are – forests, grasslands, deserts, mountains and polar regions, and aquatic habitat. Oceans and freshwater together form the aquatic habitat.
Answered by
3
Answer:
Given C∅de:
>> b = india
Corrected C∅de:
>> b = "india"
Explanation:
- In Python, strings must be enclosed within double or single quotes.
- Here, an error occurs as the string "india" is not enclosed within quotation.
- To correct the error, quotations are added.
- We can also write b = 'india' instead of b = "india".
Similar questions
Science,
7 days ago
English,
7 days ago
Science,
14 days ago
Computer Science,
14 days ago
Social Sciences,
7 months ago
History,
7 months ago