Skip to content
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

Print fromatting i.e. %d #84

Open
IAlibay opened this issue Dec 19, 2019 · 1 comment
Open

Print fromatting i.e. %d #84

IAlibay opened this issue Dec 19, 2019 · 1 comment
Labels
[python] related to the python course
Milestone

Comments

@IAlibay
Copy link
Collaborator

IAlibay commented Dec 19, 2019

So we have a part in notebook 1 that shows how you can format strings with things like f-strings. However, we don't discuss how you could limit the number of significant figures being printed or the difference between %d and %f (etc...).

@IAlibay IAlibay added the [python] related to the python course label Dec 19, 2019
@IAlibay IAlibay added this to the December 2020 milestone Dec 19, 2019
@RMeli
Copy link
Member

RMeli commented Dec 24, 2019

I just came across this great reference on Python string formatting: https://pyformat.info/

@IAlibay IAlibay modified the milestones: December 2020, December 2021 Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[python] related to the python course
Projects
None yet
Development

No branches or pull requests

2 participants