-
Notifications
You must be signed in to change notification settings - Fork 618
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
New Excercises #30
New Excercises #30
Conversation
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.
Don't create a new PR to fix these things. Just change this PR.
I would like some explanations to be written slightly differently, but I didn't include them in this review because I can change them myself.
basics/answers.md
Outdated
pallindrome_input=input("Type the number to check:") #to get the input from user | ||
pallindrome_check=pallindrome_input[::-1] #Reverses the string | ||
if pallindrome_input==pallindrome_check: | ||
print(f"This number is a pallindrome") |
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.
Please indent these with 4 spaces.
Your markdown list item (starting with 7.
) is indented with 3 spaces. That too should be indented with 4 spaces, so you get 4 spaces for most lines and 4+4 spaces for indented code.
Thank you for the tips.. |
basics/loops.md
Outdated
1 2 3 4 5 | ||
``` | ||
|
||
6. Make a programme to get a pyramid like shown in the OUTPUT section where user can type the number of rows needed |
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.
6. Make a programme to get a pyramid like shown in the OUTPUT section where user can type the number of rows needed | |
6. Modify your program from the previous exercise to print this instead: |
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
# Conflicts: # basics/handy-stuff-strings.md
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.
Thanks for not giving up with this and updating it over and over again as I review it!
Also, sorry about the delay. I somehow missed your request for review.
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Thanks a lot for helping me learn the process of adding PRs |
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.
Last nits :)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
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.
Thanks!
I had added some new exercises for if and for loops.
I will add more later