Ejemplo n.º 1
0
import view_solution as view
import model_solution as model

name = input(view.capture_name())
age = input(view.capture_age())
model.store(name, age)
info = view.display(name, age)
print(info)
Ejemplo n.º 2
0
from view_solution import capture_number_1, capture_number_2, display
from model_solution import store

number_1 = capture_number_1()
number_2 = capture_number_2()
result = store(number_1, number_2)
display(result)
Ejemplo n.º 3
0
import view_solution as view
import model_solution as model

number_1 = int(input('input1'))
number_2 = int(input('input2'))
result = number_1 + number_2
view.display(result)
model.store([number_1, number_2, result])
Ejemplo n.º 4
0
import model_solution as model
import view_solution as view

name = input(view.capture_name())
age = input(view.capture_age())
result = [name, age]
model.store(result)

info = view.display(result)
print(info)
Ejemplo n.º 5
0
from model_solution import store
from view_solution import capture_number_1, capture_number_2, display
number_1 = capture_number_1()
number_2 = capture_number_2()

result = number_1 + number_2
display(result)
store(number_1, number_2, result)
Ejemplo n.º 6
0
from view_solution import capture_age,capture_name,display
from model_solution import store
name=capture_name()
age=capture_age()

info=display(name,age)
print(store(name,age))