Suppose you want to create a new PDF document in the landscape mode, with mm units and the A4 format. Use the FPDF class to write an object called dummy_pdf with the mentioned attributes. Please, follow the described order and use double quotation marks.
Working with PDF in Python
Create a small PDF file
Report a typo
Enter a short text
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.