Untitled
unknown
plain_text
2 years ago
163 B
10
Indexable
x = int(input('Entre com um valor: '))
y = int(input('Entre com um valor: '))
if x > y:
x = y
z = x
y = z
while x < y:
print(x)
x = x + 1Editor is loading...
x = int(input('Entre com um valor: '))
y = int(input('Entre com um valor: '))
if x > y:
x = y
z = x
y = z
while x < y:
print(x)
x = x + 1