2024-07-08
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Open the file, replace() replaces the file content, open(),
Exercise 10-2: C language learning notes You can use the replace() method to replace a specific word in a string with another word. Read each line in the learning_python.txt file you just created and replace Python with the name of another language, such as C. Print each modified line to the screen.