This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""The rock paper scissors game consists of the following | |
2 Players | |
Rock > Scissors | |
Paper > Rock | |
Scissors > Paper | |
I will build a game that replicates this behavior | |
""" | |
from os import system | |
from time import sleep | |
import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import system | |
from time import sleep | |
print("Este programa funciona para realizar una cover letter, introduciendo unos datos. Agradezco el uso que puedas hacer de el") | |
sleep(5) | |
system("cls") | |
name = input("Introduce tu nombre:") | |
carreer = input("Introduce la carrera que estas estudiando:") | |
vacancy = input("Introduce el puesto que buscas:") | |
reasons = input("Introduce las razones por las que lo buscas, separadas con comas(no agregues un y):") | |
company = input("Introduce la compañia para la que te gustaria trabajar:") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import os | |
import time | |
def guess_the_number(): | |
os.system('cls') | |
print('This program is designed to guess a number. Have fun!!!') | |
time.sleep(3) | |
low = 0 | |
high = 10 ** 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Se trata crear una lista de lo que compraste en las tiendas de sneackers y dividirlos en las secciones: | |
1.-Solicitar a traves de el teclado utilizando la funcion input las siguientes categorias para la lista: | |
Tenis: Jordan 1, Jordan 4, yeezys, etc | |
Hoodies: Supreme, Gap, Champion, etc | |
Gorras: New Era, Gap, etc | |
2.-Debes utilizar el metodo append para agregar elementos de forma manual a la lista, agregaras 1 seccion nueva la que decidas con almenos 3 elementos | |
3.-En comentarios extendidos describe que hace tu lista, sus caracteristicas, el tipo objetos que contiene (tipos de datos) | |
4.-Deberas mostrar el contenido de esta lista utilizando el FOR para imprimir elemento por elemento, al final deberas mostrar un ejemplo de uso en tu lista de los metodos extend, reverse, remove | |
5.-Debes agregarle un precio a cada producto almenos mediante el uso de variables |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
class Not_Geometric_Error(Exception): | |
pass | |
class Not_Arithmetic_Error(Exception): | |
pass |
NewerOlder