py icon indicating copy to clipboard operation
py copied to clipboard

Repository to store sample python programs for python learning

Results 232 py issues
Sort by recently updated
recently updated
newest added

in [ print_pattern() ] function, the inner loop is replaced with one line ... ``` print(i * '*') ```

in line 14 string is misspelled as strong

- Notes for python - Notes for pandas library - Notes for numpy library - Some projects for data science

import random def adivina_el_numero(): print("¡Bienvenido al juego de Adivina el Número!") numero_secreto = random.randint(1, 100) # Número aleatorio entre 1 y 100 intentos = 0 while True: intento = input("Adivina...

Hi, I am unable to add the constant in linear regression model. in bopth the train and test split. Can you please help?