Post on 12-Jun-2015
description
2. Python (python.org)
3. Interpretado
4. Script (guin) Tipado dinmico
5. a = autonom@s Fuertemente tipado
6. b = 5 7. resutl = a + bMultiplataforma 8. Python libros Mas recursos en:http://python.org 9. Python bsico
10. Real (float) 11. Real grande (long) 12. Cadena de caracteres (str) 13. Complejo (complex) 14. Booleano (True, False) type(3.9)
Caracteres de control
15. Tabulador ... 16. Python operaciones
17. Universidad + Autnoma(Concatenar strings) 18. A C G T * 4 (Repeticin) 19. 2**16math.pow(2,16) 20. 64**.5math.sqrt(64) 21. % (residuo de la divisin) 22. Python operaciones
28. type(5 != 5) 29. type(1.0/2) 30. type(resultado: %.2f % 3.146) Cul es la salida?
31. float(1/2) 32. True or(False or not True) 33. int(3.7) 34. float(56) 35. Python Control
elifcondicion:
else :
36. Python Control test (I)
37. T(F) = 1.8 * T(C) + 32 38. Fahrenheit -> Celcius 39. T(C) = (T(F) 32) / 1.8 Login de usuario
40. Python Colecciones
41. [2,5,7,8,9]
Tuplas(inmutable) 42. (7,9,1,4,7) 43. Diccionarios 44. {' Lunes ': 1 , ' Martes ': 2 , ' Miercoles ': 3 } 45. diccionario de palabras ?? 46. String keys values 0 1 2 3 4 5 6 -7 -6 -5 -4 -3 -2 -1 a b c d e f g 47. Python Control
range([start, ] stop [, step])
48. Coleccin de nmeros del 40 al 60 ?? 49. Python funciones f( x ) =y Function Input Output 50. Python funciones
defpromedio (num1, num2, num3) :
51. avg = ... 52. return avg 53. Y parannmeros ?? * printpromedio (56, 67, 89) #llamado 54. Python funciones
55. def nombre_funcion (para1=4, para2=2, para3=7):
defpromedio (num1=45, num2=67, num3=43) :
56. avg = ... 57. return avg printpromedio () 58. Python funciones
59. def nombre_funcion (para1, para2, para3, ...):
def promedio (num1=45, num2=67, num3=43):
60. avg = ... 61. return avg, sum promedio, suma =promedio () 62. Python Control test(II)
63. Anita laba la tina 64. .... defes_palindrome (cadena):
65. Python Clases
66. self.gasolina = gas def conducir(self):
67. print quedan , self.gasolina, litros else:
mi_coche = Coche(edy09, 5) 68. Python Herencia
69. Mltiple 70. Python
71. Encapsulamiento 72. Mtodos especiales 73. Sobrecarga de operadores 74. Excepciones 75. Programacin Funcional 76. Python