Skip to content
New issue

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

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

Already on GitHub? # to your account

Added examples of f-string usage in 'Strings-and-Regular-Expressions.ipynb' #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akhaund
Copy link

@akhaund akhaund commented Nov 23, 2020

Added examples of f-string usage to string formatting section.
1.
f"The value of pi is {pi}"

first, last = 'A', 'Z'
f"""First letter: {first}. Last letter: {last}."""

f"pi = {pi:.3f}"

print(f"{pi=}")

Added examples of f-string usage to string formatting section.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant