Python Forum

Full Version: pagination for non standarded pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(Sep-02-2019, 12:18 PM)buran Wrote: [ -> ]you need to convert to integer with int() function. see my previous example. you should be able to fix errors like this by now.

really it was close like this... Wall
Quote:also note that range(1, 55) will give you numbers from 1 to 54
Yes, this i noticed :P thank you for your patience

why do i need functions now?
(Sep-02-2019, 12:23 PM)zarize Wrote: [ -> ]why do i need functions now?
better structure, DRY principle (don't repeat yourself), easier maintenance and testing, etc.
could i kindly ask you for an example of 1 function which could be applied there and would be useful?

#edit

or nevermind i am reading about this and gonna pracctice it seperately, thank you for your support in this topic! :)
Pages: 1 2