Forwarded from Machine Learning with Python
python-docx: Create and Modify Word Documents #python
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Installation
Example
https://t.me/DataScienceN đ
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Installation
pip install python-docx
Example
from docx import Document
document = Document()
document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
document.save("dark-and-stormy.docx")
document = Document("dark-and-stormy.docx")
document.paragraphs[0].text
'It was a dark and stormy night.'
https://t.me/DataScienceN đ
https://leetcode.com/problems/maximum-69-number/description/?envType=daily-question&envId=2025-08-16
LeetCode
Maximum 69 Number - LeetCode
Can you solve this real interview question? Maximum 69 Number - You are given a positive integer num consisting only of digits 6 and 9.
Return the maximum number you can get by changing at most one digit (6 becomes 9, and 9 becomes 6).
Example 1:
Input:âŚ
Return the maximum number you can get by changing at most one digit (6 becomes 9, and 9 becomes 6).
Example 1:
Input:âŚ
Forwarded from AAU ECONOMICS STUDENT2018
#Notice
â á¨áľáá ááľ ááľáŽá˝ ááťáťáŤ
á¨áá´áŤá á´áááŤá˛áŤá áŞááĽáá á˘áľáŽáľáŤ áľáá ááľ áááľá´á á 2014 á.á á ááŁá áááŞáŤ áá°á¨áľ á°áťá˝áá á¨áá¨áĄ á¨áľáá ááľ ááľáŽá˝á áááá áá á áľáááᢠá¨á°áťáťá á¨áľáá ááľ ááľáŽá˝ áááá á¨áá á áá á°áŤáááá˘
âď¸á¨áľáá ááľ ááľáŽá˝ ᨠ147 áá° 54 á°ááá°ááá˘
âď¸á á¤áááľáŞáŤáá áŽáááá°á á˘ááááŞáá ááá áĽáľá¨ á áŤá°á áááľ áľá¨áľ á¨á°áአá ááᣠá á°áá¨ááŠáľ ááľáŽá˝ ááľáĽ á¨áááááľá ááá¨áĽ áá˝ááá˘
âď¸áááá áá¨á áááááľ ááśáá áááá¨áąá˘
â á¨áľáá ááľ ááľáŽá˝ ááťáťáŤ
á¨áá´áŤá á´áááŤá˛áŤá áŞááĽáá á˘áľáŽáľáŤ áľáá ááľ áááľá´á á 2014 á.á á ááŁá áááŞáŤ áá°á¨áľ á°áťá˝áá á¨áá¨áĄ á¨áľáá ááľ ááľáŽá˝á áááá áá á áľáááᢠá¨á°áťáťá á¨áľáá ááľ ááľáŽá˝ áááá á¨áá á áá á°áŤáááá˘
âď¸á¨áľáá ááľ ááľáŽá˝ ᨠ147 áá° 54 á°ááá°ááá˘
âď¸á á¤áááľáŞáŤáá áŽáááá°á á˘ááááŞáá ááá áĽáľá¨ á áŤá°á áááľ áľá¨áľ á¨á°áአá ááᣠá á°áá¨ááŠáľ ááľáŽá˝ ááľáĽ á¨áááááľá ááá¨áĽ áá˝ááá˘
âď¸áááá áá¨á áááááľ ááśáá áááá¨áąá˘