├── README.md ├── Prueba2 ├── Halloween.py └── Test.py └── Prueba └── Algoritmo.py /README.md: -------------------------------------------------------------------------------- 1 | # Telmex 2 | Repositorio para el taller de GitHub 3 | -------------------------------------------------------------------------------- /Prueba2/Halloween.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Created on 31 oct. 2022 3 | 4 | @author: academicos 5 | ''' 6 | -------------------------------------------------------------------------------- /Prueba/Algoritmo.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Created on 31 oct. 2022 3 | 4 | @author: academicos 5 | ''' 6 | 7 | if __name__ == '__main__': 8 | pass -------------------------------------------------------------------------------- /Prueba2/Test.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Created on 31 oct. 2022 3 | 4 | @author: academicos 5 | ''' 6 | 7 | def factorial(n): 8 | res = 1 9 | 10 | for i in range(2, n+1): 11 | res *= i 12 | return res 13 | # Driver Code 14 | 15 | #if __name__ == '__main__': 16 | print(factorial(5)) --------------------------------------------------------------------------------