More modules

--Originally published at Nihilistic Kirby

One of the things that were ‘complicated’ for me were python modules, not because of the simple use of them, but the logic behind them were like a mystery to me. However; after a hard time of scavenging information from the darkest places of THE INTERNET I found a site full of tutorials where a list and explanation of several modules are (please, check the link, they deserve a lot of credits because of their great job):

~~~ ~~~

, and I’m telling this because I found that great site, in a place called ‘Google’ (what a weird name) where I could type what I wanted to search for, here, I share that link too:

~~~ ~~~ ***AMAZING SITE***

Now I feel more like a computer scientist, maybe I’ll be ready to hack the Pentagon next week, so stay tuned

More loops, loops everywhere, FOR LOOP.

--Originally published at Newbie Programmer

Me when i see a loop

Welcome to another post, and another loop.

In this case we explain the FOR loop. The for loop is used for the same things as the While Loop, but the for loop is for finite loops.

You can use Lists.


If you put, for example the print (“A value”) into the loop, the words “A value” can be printed with every number.


Range function.


If you put a third number in the (), this number activates a function that says steps of 2 in the range.


And you can use slices (strings) for the for loops.






--Originally published at Newbie Programmer

Welcome to a new post

In this post we have an introduction to strings of python 3.

First, the strings can be enclosed in single quotes (‘ ‘) or doble quotes (” “).


You can put \ to scape single quote or put instead double qoutes ” “


The print () function



\n Character


If you dont like to expect a new line, you can put letter r before the quotes.


Operator \t

t1 t2

If you want to span in multiple lines , you can put triple quotes( ¨¨¨     ¨¨¨)


Properties of the strings.






Strings learned.


And its the end.




My new calculator

--Originally published at Newbie Programmer


Using python 3 as a calculator

I can use python 3 as a calculator using the interpreter of python, you can do the basic math functions.


The  integer numbers ( 23 , 45, 4) have type int , and the others numbers with a fractional part ( 2.5 , 4.34, 3.141592653….) have type float

The division (/) always returns a float number, to do a division to get a type int number you need to put // instead of / , and to calculate the remainder use the %.


In python is possible to use the ** operator to calculate powers, 2**2  is equal to write 2² (At a real calculator).


You can use the equal sign = to assign a value to a variable, if you dont assing a variable, you cant use, and you accredit an error.


In the interactive mode the last printed expression is assigned to the variable


And, you can round the number if you put the function round(AValuue,Numberofdecimals)

And now, a gif of a taco.



First “complex” code

--Originally published at Nihilistic Kirby

The third week of the semester I wanted to do something more complex than just >>>print(“Hello World”). Since I started using the command “while” things got a little bit more interesting; however, I still don’t have much idea of how things work on python, I just don’t know which way to go and what should I try to learn next, things can seem pretty simple most of the time, but for me they are not.


Use Python in Command Prompt and open python files

--Originally published at Newbie Programmer

Hello, this is a post to how to run Python in Command Prompt Windows 10, but before you need to have installed Python.

First you need to open the Command Prompt:Captura de pantalla (10)

Second: You need to know where is your python.exe

In my case i have mi python folder in the desktop and if you open the python.exe you can see where is python.exe.python.jpg

In this case python.exe is in C:\Users\angel\Desktop\Python\python.exe.

And this is How i run python in CMD

Captura de pantalla (11)

And now; How to run python files in CMD.

In the same screen of the CMD you can put exit() to close python, and now you write python and the name of the .py file Like This




And this i how i run this files on CMD in Windows 10,i dont know if this metod is effective but works for me, remember im a Newbie and new doing blogs.


A random gif.




“Cubing” and “Coding”?

--Originally published at Nihilistic Kirby

As a newbie in the programming world, and despite being a Python beginner, I literally have NO IDEA where to start, and I would really appreciate any kind of help that could help me to have a better understanding in this confusing (at least for me) ocean of languages and algorithms, like sharing helpful books, video tutorials, etc.

With that being said, I’d like to share and experience that keeps making me wonder how much can I get familiarized with this whole new world: It’s been like 5 years since I first started solving Rubik’s cubes, and that was the way a learned how algorithms really work, as all the methods to solve any cube require algorithms. Of course it’s complicated as hell to solve the cube the first time, but as the time passed I became better (as it is supposed to be, I think) and I developed my curiosity about new cubes and algorithms, so without even noticing, I learned by first “language” in order to understand those algorithms, and then this Rubik experience helped me to decide which career to choose. So here I am, and I’m  not turning back, even if that means hell for me for the next 4 or 5 years.

(Yeah I know, I’m not the best writer in the world)