Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pasar tupla a funcion python

def subt(tupla1, tupla2):
    ar, ai = tupla1
    br, b1 = tupla2
    i = 1
    ai = ai * i
    bi = bi * i

    print(f"({ar - br} + {ai - bi}i)")
Source by es.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pasar #tupla #funcion #python
ADD COMMENT
Topic
Name
3+8 =