Skip to content

Ejercicio Javier rodriguez#24

Open
xrodrimo wants to merge 1 commit intoIronhack-data-bcn-oct-2023:mainfrom
xrodrimo:main
Open

Ejercicio Javier rodriguez#24
xrodrimo wants to merge 1 commit intoIronhack-data-bcn-oct-2023:mainfrom
xrodrimo:main

Conversation

@xrodrimo
Copy link
Copy Markdown

No description provided.

@sh-ih
Copy link
Copy Markdown

sh-ih commented Oct 23, 2023

Keep up the good work!

Some comments:

You missed the first question “Calculate the square number of the first 20 numbers. Use square as the name of the list.”

On question 2, you needed to calculate the square root, not the square of the first 100 numbers, so you needed to run x to the power of 0.5:

sqrt = [i ** 0.5 for i in range(100)]
print(sqrt)

You didn’t use the variable named provided in the question Find all the consonants in the sentence 'The quick brown fox jumped over the lazy dog'. Use consonants as the name of the list.).

Although this doesn’t affect the results here, there may be cases where the variable consonants is used later on, in a different question, so it is better to follow those instructions to avoid errors so simple that they become hard to find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants