Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 152170

Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.

6 votes
2 answers
5k views

Deleting/sending to trash files with Python

simplify the erasing of a lot of files, I have some ideas to improve it but that's not why I'm putting it here, it's because it's a very dangerous program(it deletes stuff permanently) and since I'm a beginner
Mateus's user avatar
  • 325
8 votes
3 answers
1k views

Telling the length of the highest common substring between 2 words

This takes two strings and returns the length of the largest common substring. Example: contando_sstring_igual("abcdef", "cdofhij") # 2 Because the longest common substring = "cd", so it returns t …
Mateus's user avatar
  • 325
4 votes
1 answer
9k views

Rock Paper Scissors with score count

This is my Rock Paper Scissors code for Python 3 with score count. I want to make it more readable and concise if possible. import random def player_choice(user_choice): # Register and shows the p …
Mateus's user avatar
  • 325
2 votes
1 answer
853 views

Checking if all questions were answered with javascript

I made a quiz project and I made a code to see if all the questions were answered, using JavaScript. It works, but its way more exhaustive than I wanted it to be. I first check every single option fr …
Mateus's user avatar
  • 325