Generation

generate functionThu, 25 May 2023

Imprime el siguiente patron usando el ciclo while y un asterisco * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

def print_pattern(a): for i in range(1,a+1): print('* '*a) print_pattern(8)

Want to kickstart your project?Use the new AI Studio to create your code