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

Fork, Commit, Merge - Easy Issue (Python) #447

Closed
nikohoffren opened this issue Sep 7, 2023 · 2 comments
Closed

Fork, Commit, Merge - Easy Issue (Python) #447

nikohoffren opened this issue Sep 7, 2023 · 2 comments

Comments

@nikohoffren
Copy link
Member

nikohoffren commented Sep 7, 2023

Fork, Commit, Merge - Easy Issue 1 (Python)

Simple Python Program to Interact with Lists

Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!

The aim of this task is to create a Python script that creates a list of numbers and performs simple operations on it. Specifically, the program should create a list of the first 10 natural numbers (1 through 10), print the list and print the sum of the numbers in the list.

Acceptance Criteria:

  • The program should create a list of the first 10 natural numbers.
  • The program should print the created list to the console.
  • The program should print the sum of the numbers in the list.

Hint: You can use Python's built-in sum function to calculate the sum of numbers in a list.

Start by opening the tasks/python/easy directory from the root of the project.
Then open number_list.py file and start working on your solution!

To test the program, you can run python3 tasks/python/easy/number_list.py to see if it works as expected.


To work with this issue, you need to have Python installed to your local machine.
Check out README.md for more instructions of installing Python and how to make a pull request.

Feel free to ask any questions here if you have some problems!

Also, kindly give this project a star to enhance its visibility for new developers!

nikohoffren added a commit that referenced this issue Sep 8, 2023
alpakaka0o0 added a commit to alpakaka0o0/fork-commit-merge that referenced this issue Sep 22, 2023
@nikohoffren nikohoffren reopened this Sep 22, 2023
nikohoffren pushed a commit that referenced this issue Sep 22, 2023
This reverts commit 2fe3985, reversing
changes made to e76bb2e.
@29deepanshutyagi
Copy link
Contributor

kindly assign me this issue under Hactoberfest 2023 @nikohoffren

@nikohoffren
Copy link
Member Author

kindly assign me this issue under Hactoberfest 2023 @nikohoffren

Hi! We don't assign anyone to these issues as the description says:
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!

nikohoffren added a commit that referenced this issue Oct 1, 2023
Fork, Commit, Merge - Easy Issue (Python) #447
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants