![]() |
|
[Python] Python Exercise - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Python Exercise (/showthread.php?tid=5987549) |
Python Exercise - Streax - Jul 7, 2019 Anyone got a good website or could post a python exercise? RE: Python Exercise - l0lwtf - Jul 7, 2019 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. RE: Python Exercise - Allelujah - Jul 7, 2019 reddit has some good stuff too. r/python RE: Python Exercise - Kallu609 - Jul 8, 2019 LeetCode - The World's Leading Online Programming Learning Platform Has tons of different exercises and you can use multiple different languages. RE: Python Exercise - FN-2187 - Jul 9, 2019 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. RE: Python Exercise - Perlo - Jul 19, 2019 One I used during college was: https://codingbat.com/python. They have a nice range of exercises filtered per category. RE: Python Exercise - michalmonday - Jul 19, 2019 (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. RE: Python Exercise - Streax - Jul 19, 2019 Will check all of them out for sure! Thank you good sirs :) RE: Python Exercise - 2tonstun - Jul 28, 2019 ooo sweet i needed the same thing RE: Python Exercise - Lindros - Jul 29, 2019 w3schools has some good beginner excersizes. Not quite sure what skill level you are looking for. RE: Python Exercise - vorticalbox - Jul 31, 2019 (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 RE: Python Exercise - Influxes - Aug 14, 2019 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 RE: Python Exercise - Matabufalez - Aug 16, 2019 https://www.freecodecamp.org/ is pretty nice too, it even has job offers. RE: Python Exercise - sid071 - Aug 26, 2019 (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 |