idk

10 Articles 0 Followers


Python: Odd or Even running as command line argument

29 Jan 2022 1 minute read 0 comments DaLuSt

Command-line argument Command-line arguments are nothing but simply arguments that are specified after the name of the program in the system's command line, and these argument values are passed on to your program during program execution. In our case...

Python: Turn Odd or Even into a script

25 Jan 2022 4 minute read 0 comments DaLuSt

Creating a script A scripting language or script language is a programming language for a runtime system that automates the execution of tasks that would otherwise be performed individually by a human operator. To turn the python program created for...

Python: Odd or even class creation

22 Jan 2022 1 minute read 0 comments DaLuSt

Odd or Even class creation Classes provide a means of bundling data and functionality together. Creating a new class creates a new type of object, allowing new instances of that type to be made. Each class instance can have attributes attached to it...

Python: Odd or Even?

19 Jan 2022 1 minute read 0 comments DaLuSt

Odd or Even? To add to my previous post, sometimes you just want to know whether a number is odd or even, this next small function will show you just that. Code:  Function to show if the input number is even or odd. def odd_or_even(num): # num =...

Python: Odd and Even number generation

15 Jan 2022 1 minute read 0 comments DaLuSt

Odd and Even number generation  Let us show you how to make one of the simplest little functions in the programming world. Besides: Print("hello world). An odd and even number generator within a specific range. These functions that are written might...

Python: Palindrome detection

11 Jan 2022 1 minute read 0 comments DaLuSt

Palindrome Palindrome comes from Greek palindromos, meaning "running back again," which itself is from palin ("back," "again") and dramein ("to run"). Nowadays, we appreciate a clever palindrome—such as "Drab as a fool, aloof as a bard" or "A man, a...

A story about nothing and the journey of 5000 words Chapter 4

11 Jul 2021 4 minute read 0 comments DaLuSt

          Chapter 4: The passing of the halfway point for the story about nothing and the journey of 5000 words Yeaaa a new beginning of a piece of text. about 2500 words in so I am already halfway through my set goal. We will see how...

A story about nothing and the journey of 5000 words Chapter 3

10 Jul 2021 5 minute read 0 comments DaLuSt

    Chapter 3: The beginning of the idea of the journey to 5000 words about nothing There we are again, back on the train, back in the days when you normally do nothing and just sit comfortably. But no I'm going to dump a few words in a word...

A story about nothing and the journey of 5000 words Chapter 2

9 Jul 2021 1 minute read 0 comments DaLuSt

    Chapter 2: A short continuation of nothing Now I'm going to tell you about my life. You would expect that, but I actually had no intention, probably I will tell you here and there something about my thoughts about things, or about things that I h...

A story about nothing and the journey of 5000 words Chapter 1

7 Jul 2021 4 minute read 1 comment DaLuSt

    Chapter 1: the beginning of nothing A story, how to start a story, no one has any idea, but people have been trying in all shapes and sizes for years. And you know what that means so that there is no right or wrong way to start a story....