Code

mail@pastecode.io avatar
unknown
python
7 months ago
565 B
1
Indexable
Never
def main():
    msg = "Seleccione una opción\n"
    msg += "0: Diez palabras\n"
    msg += "1: Quince palabras\n"
    sel = int(input("Opción: ")
    
    countP = 0
    if sel == 0:
        count1 = 0
        count1Total = 0
        
        while count1 < 10:
            word = str(input("ingresar palabra: "))
            count1 += 1
        countP += 1
        print("Punto obtenido!")
        count1Total = count1
        count1 = 0
    elif sel == 1:
        count2 = 0
    else:
        "Opción inválida"
        return -1
    
    return 0



    
    
Leave a Comment