Skip to content

Return value instead of print in spro#4

Open
amboule wants to merge 1 commit intombaldassaro:masterfrom
amboule:patch-1
Open

Return value instead of print in spro#4
amboule wants to merge 1 commit intombaldassaro:masterfrom
amboule:patch-1

Conversation

@amboule
Copy link

@amboule amboule commented Feb 2, 2021

Actually, the function prints the final values. This results in a printed output even when the user doesn't want it.
Replacing the print by a return will fix that issue by allowing the user to only have the returned value, and to print it afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments