write a python program to open a file in "w" mode and write few lines of information into the file again open the file in "r+" mode read and display the content. write few lines into it using flush command. display all the contents present in the file.
Answers
Answer:
python is a snake
Explanation:
1. Python snake, also known as Ajgar, is one of the most massively built snakes of the Indian sub-
continent. It belongs to the Boidae Family and is dependent on water to quite an extend. One of the
unique features of the Rock pythons of India is that they can raise their body temperature above the
ambient level, through muscular contractions.
2. Python snake grows to an average length of somewhere around 4 m and its weight varies from 70 to
129 pounds. An adult python is white or yellow in colour depending upon its habitat.
3. Rock python of India is a lethargic creature, moving only while hunting a prey or when threatened. It
shows great swimming ability and is quite at ease in winter.
4. Python snakes can be found in dense as well as open Indian forests, mostly mangrove forests, arid
scrub jungle and rain forest. They may live in abandoned mammal burrows, hollow trees, dense
water reeds and mangrove thickets. However, pythons prefer to live near a permanent source of
water like rivers and lakes.
5. Rock python in India is an endangered species, now partly protected by the Tamil Nadu government.
The reason for this is that it is killed for its fine skin, meat and even for medicinal purposes.