Create your own dictionary

--Originally published at LunaSports

Una función que te permite crear Python es: elaborar tu propio diccionario.

Escribir un mini diccionario es tedioso pero al estar programando los significados de las palabras es entretenido. Te muestro un ejemplo:

d

Es muy importante que: el diccionario deba escribirse entre un par de llaves; dentro de éstas, las palabras deben ser escritas entre comillas; de lo contrario marcará error al querer llamar a la palabra buscada,la palabra de la izquierda es la que el usuario buscará y la de la derecha será el significado.

Los dos puntos entre las palabras escritas son vitales, porque dan diferencia de cuál palabra desempeñará qué rol. De lo contrario marcará error.

a2

Para más información sobre Python 3, no olvides revisar aquí. :)


Get fit in Python 3

--Originally published at LunaSports

46 simple python exercises, es el título que debes buscar para poder realizar ejercicios del programa Python 3.

Son demasiados sencillos, y cada vez aumenta la dificultad de elaborar un programa!!

p

De verdad se los recomiendo, ya sea porque gusten aprender a utilizar mejor Python 3 o por el simple hecho de entretenimiento.

De nuevo, no olvides visitar esta página para más información.


¿When to use what type of repetition in a program?

--Originally published at LunaSports

Esta vez se repasarán los distintos tipos de ciclos con los que trabajamos en el programa Python 3.

If: En lo personal es el que más uso, el más fácil y rápido de utilizar.

Y dentro del condicional  if  se utiliza  elif , que son condicionales dentro de condicionales.

Ejemplo:

1

While: La misma palabra lo dice  mientras que..  se cumple una condición especificada en el programa, se realizarán instrucciones inscritas dentro del condicional, las ejecutará de manera que la condición ya no se cumpla.

Es entonces que se realizarán distintas operaciones ya fuera del condicional, dando seguimiento al programa.

Ejemplo:

califas

Y debe de tomarse en cuenta qué tipo de programa crearás, por que define en cierta parte que ciclo utilizarás para elaborar el programa.

Te dejo el siguiente link para que sigas enterándote sobre Python 3.?


REVIEWWW

--Originally published at LunaSports

Llegamos al final de este curso, hemos conocido personas las cuales nos aportaron ideas en la creación de nuestros programas, la forma en la que aprendes es distinta que lo ordinario.

El conocimiento lo adquieres tú, el maestro solamente es un guía con el cuál te puedes familiarizar y cuestionar tus dudas.

El curso me gustó porque, tenías que realizar ejercicios para poder alcanzar un objetivo que era una buena calificación; la cantidad de conocimiento que adquieres depende de ti.

Sinceramente recomiendo este curso y más con este profesor.

GO PHYTON!!

 


#TC101 Review

--Originally published at TC101 – Peaz Cooper

TC101 Topics of my WordPress

  • Use of comments
  • Python conventions (Zen of Python but others for other languages)
  • Basic types and their use
  • Basic output (print)
  • Basic user input (text based)
  • Calling functions
  • Creating functions
  • Importing and using modules/libraries
  • Creating and using your own modules/libraries
  • Use of the conditional “if”
  • Use of “else” with a conditional (and elif for Python)
  • Use of loops with “while”
  • Use of loops with “for”
  • Creation and use of Lists/Tuples (Python)
  • Creation and use of strings
  • Reading and writing of text files
  • Creation and use of ranges in Python
  • Creation and use of dictionaries in Python

I’m kinda lazy to write all over again cause it took a long time to write every single post with every single detail and  mistake you could possibly make… so don’t be creepy and check out all of my posts or check these links:

 

And this list of videos for python!


If you follow any of these links you’ll magically learn every single stuff about python in no time! (1 semester)


It did what? 20 secrets about this course review.

--Originally published at Carolina's Blog Site

Hello everyone!

So I am done with my first semester at el Tec, now it’s just finals! WOW, I can’t believe it went by so quickly!!!

Anyway, one of my favorite classes this semester was fundamentals of programming TC101 with To Ken Bauer, so here’s a short review of the course:

I remember our first day, when Ken made us stand on our desks and yell ‘it’s okay to fail’ and told us all about his abolish grading policy and his flipped learning classroom style. It was all sooo new to me!!! I think this learning concept is very different from other teachers’ methods. Consequently, it has its pro’s and con’s.

Everyone learns at a different pace, however, most classes make learning homogenous and don’t encourage individuality, so people feel like they’re always ahead or always behind. This style lets you progress at your very own pace and way. It offers flexibility, and it encourages learning for the sake of learning, not for the sake of earning a grade or accomplishing a homework. Another thing I loved is that it discourages grading, which is like the ultimate individuality destroyer, because every person is different, so you cannot compare them, especially not with such a simplistic method. It makes me so mad that schools do this. It’s simple really, you just can’t compare apples and oranges. Period.

However, there’s also disadvantages to this kind of learning. Even though the freedom it gives you to learn/study can help you grow and discover what works for you, it can also let you not work at all. If you have enough discipline, you can make yourself learn, ask for help and learn from others. Ken is always willing to help and so are your classmates. However, if you don’t, you can end up leaving

Continue reading "It did what? 20 secrets about this course review." →