Skip to content

Progressão Aritmética #3

Open
@201flaviosilva

Description

@201flaviosilva
termo = int(input("Termo: "))
r = int(input("Razão: "))
max = int(input("Número: "))
result = termo

print("-" * 10)
while result != (termo + ( r * max )):
    print(f"{result} → ", end = "")
    result += r

print("FIM")
print("-" * 10)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions