requiero una funcion que me sume 2 parametros
def suma(a, b):
return a + b
suma(1, 2)
All generations.
def suma(a, b):
return a + b
suma(1, 2)
def tablas():
for i in range(1, 5):
for j in range(1, 10):
print(i * j, end=" ")
print()
tablas()
def sum(a, b, c):
return a + b + c
sum(1, 2, 3)
def tree(delimitador, tronco, ramas):
for i in range(1, ramas + 1):
print(delimitador * i)
for _ in range(tronco):
print(delimitador)
tree('@', 2, 10)
def imprimir_lista(lista):
for elemento in lista:
print(elemento)
Generate
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description
− sponsored −