-
Notifications
You must be signed in to change notification settings - Fork 0
Add a loop that prints "Hello World" ten times #4
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| def helloWorld(): | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| print("Hello World!") | ||
|
|
||
| def helloWorldTenTimes(): | ||
|
|
||
| # This loop prints Hello World followed by the iteration number. | ||
| for i in range(1, 10): | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 defect logic 3 "immproper range"
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report documentation defect from lines 3 to 5 with description "this is a test defect"
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report documentation defect from lines 3 to 5 with description "this is a test defect" |
||
| print("Hello World #", i, "!") | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report documentation defect from lines 3 to 5 with description "this is a test defect"
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report logic defect from lines 3 to 5 with description "this is a test defect" |
||
|
|
||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report logic defect from lines 3 to 5 with description "this is a test defect" |
||
| helloWorldTenTimes() | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report documentation defect on line 7 with description "this is a test defect"
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report logic defect on line 7 with description "this is a test defect"
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cam2-code-review-bot-2 report logic defect from lines 3 to 5 with description "this is a test defect" |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
• Line 6:1: E305 expected 2 blank lines after class or function definition, found 1
• Line 6:21: W292 no newline at end of file