Anyone got a good website or could post a python exercise?
![[Image: zeuMrJd.png]](https://i.imgur.com/zeuMrJd.png)
|
Python
Python Exercise |
|
Jul 7, 2019 05:35 PM
(This post was last modified: Jul 7, 2019 05:37 PM by l0lwtf.)
Here is a fairly large .svg:
https://svgshare.com/i/Dxk.svg Your objective is to remove the left-hand side of the .svg, so it looks like this: https://i.imgur.com/r7XvAic.png Your output should be valid .svg. I was able to do this in 20 minutes, so I expect you to do this within 6.6 hours because I'm a 20x rockstar developer. If you share correct code ill share mine.
LeetCode - The World's Leading Online Programming Learning Platform
Has tons of different exercises and you can use multiple different languages.
I have been using Hacker Rank. It's has a lot of different types of exercises that you can switch to python. It will run your code and test it against pre generated samples.
One I used during college was: https://codingbat.com/python. They have a nice range of exercises filtered per category.
(Jul 9, 2019 04:18 AM)FN-2187 Wrote: I have been using Hacker Rank. It's has a lot of different types of exercises that you can switch to python. It will run your code and test it against pre generated samples. +1 It's really useful and well designed. Each submission/task has its' own "Discussion" section where you can check how other people solved the same problem to learn from others on how to write cleaner or more efficient code. For each submission it gives you some points depending on difficulty, the points are not worth anything but it keeps you going:P There's also sections to solve problems about algorithms, data structures, maths, regex, sql, databases and AI. in these sections most of the tasks include parts of pre-written code, there's an option to select a programming from the long list, so this way you can see how the same thing is implemented in different languages. Here's an example: Apple and Orange | HackerRank Provided python code: Code #!/bin/python3And the same thing provided in C after selecting it from the list: Code #include <assert.h>There's like 15 languages to choose from that list. (Jul 19, 2019 01:36 PM)Perlo Wrote: One I used during college was: https://codingbat.com/python. They have a nice range of exercises filtered per category. This is actually pretty fun :P
¸„»°'´¸„»°'´Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est ¸„»°'´`'°«„¸`'°«„¸¸„»°'´
A fun one is to recreate the game fizzbuzz with python. The basics of the game, is you count up from 1. If the number you are currently at is divisible by 3, the program prints “fizz”. If the number if divisible by 5 the program prints “buzz”. Now if the number is divisible by both 3 and 5, the program prints “fizzbuzz”.
Another fun project to do is to build a cipher. A Caesar Cipher. You can read here on how Caesar Ciphers work: Caesar cipher - Wikipedia
https://www.freecodecamp.org/ is pretty nice too, it even has job offers.
Do you like hurting other people? ![]()
Aug 26, 2019 04:30 AM
(This post was last modified: Aug 26, 2019 04:31 AM by sid071.)
(Jul 7, 2019 04:24 PM)Streax Wrote: Anyone got a good website or could post a python exercise? I have some 15 solid practice on my website. 'www.masterpython.me' (Aug 26, 2019 04:30 AM)sid071 Wrote: I have some 15 solid practice on my website. 'www.masterpython.me' https://www.masterpython.me |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [Python] by Bass_ReevesAug 20, 2023 01:44 AM | 9 | 631 |
Aug 20, 2023 01:44 AM Last Post: Lucky4L |
| [C] by 1337ITWizKidJun 10, 2021 09:14 PM | 2 | 195 |
Jun 10, 2021 09:14 PM Last Post: 1337ITWizKid |
| [Java] by minerwOct 5, 2020 06:44 AM | 2 | 303 |
Oct 5, 2020 06:44 AM Last Post: minerw |