Skip to content

Commit

Permalink
Made it print the last element
Browse files Browse the repository at this point in the history
  • Loading branch information
1Git2Clone committed Jun 10, 2024
1 parent e367346 commit b7700e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CurrencyConversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def program_loop(
"converted_amount": converted_amount,
}
)
print(output[0])
print(output[-1])

return None

Expand Down

0 comments on commit b7700e3

Please sign in to comment.