Skip to content

adding program to print diamond pattern #1338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 18, 2019

Conversation

souravs17031999
Copy link
Contributor

Written a program to print diamond pattern with stars in python 3.7

Written a program to print diamond pattern with stars in python 3.7

if __name__ == "__main__":
print("| /\ | |- | |- |--| |\ /| |-")
print("|/ \| |- |_ |_ |__| | \/ | |_")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please make these two lines r"strings" instead of just "strings"" to avoid these warnings: https://travis-ci.org/TheAlgorithms/Python/builds/596096974#L514

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, okay sure.
thanks for reviewing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@cclauss cclauss merged commit acd962b into TheAlgorithms:master Oct 18, 2019
stokhos pushed a commit to stokhos/Python that referenced this pull request Jan 3, 2021
* adding program to print diamond pattern

Written a program to print diamond pattern with stars in python 3.7

* update - changing strings to r strings
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.

2 participants