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

[EC66] [Python] Use single quote (') instead of quotation mark (") #108

Closed
JB-Ginguene opened this issue Apr 5, 2023 · 1 comment
Closed
Assignees
Labels
🗃️ rule rule improvment or rule development or bug 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 python

Comments

@JB-Ginguene
Copy link
Contributor

[ecoCode challenge 2023 - Team 28 days]

The shape using the quotation marks allows the developer to insert variables that will be substituted at run time. But if the string does not have a variable, use quotes instead. Thus, language will not look for variables to subtituture, which will reduce the consumption of CPU cycles.

@dedece35 dedece35 added 🗃️ rule rule improvment or rule development or bug python 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 labels Apr 5, 2023
@dedece35 dedece35 changed the title EC66[Python] - Use single quote (') instead of quotation mark (") [EC66] [Python] Use single quote (') instead of quotation mark (") Aug 25, 2023
@dedece35
Copy link
Member

closed because of PR merged and available on 1.3.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗃️ rule rule improvment or rule development or bug 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 python
Projects
None yet
Development

No branches or pull requests

2 participants