Writing more than Dev Diaries

Since I also do some other coding related stuff for work and in my free time, I decided to not only write dev diaries about my games. I will also share my experience and daily encounters with coding, especially Python, since I work a lot with Python.

I will then insert beautiful snippets you can freely use, just like this one:

# Program to check if a number is prime or not

num = 407

# To take input from the user
num = int(input("Enter a number and check if it is a prime: "))

# prime numbers are greater than 1
if num > 1:
   # check for factors
   for i in range(2,num):
       if (num % i) == 0:
           print(num,"is not a prime number")
           print(i,"times",num//i,"is",num)
           break
   else:
       print(num,"is a prime number")
       
# if input number is less than
# or equal to 1, it is not prime
else:
   print(num,"is not a prime number")

I will also write about my other side projects with Construct3 and Godot. If I encounter something interesting or cool ideas, I will also share it with you.

I think writing about my coding and programming experiences is also a great way to improve it with possible feedback from you, the readers.

For these reasons I also renamed and changed the theme of this blog, to better fit for my new purposes.

I hope you like the idea as much as I do and will read then and now some of my other blog posts not related to my games.

Best wishes and stay healthy,

Bernhard

Leave a reply

Your email address will not be published. Required fields are marked *