Tag: python

286 Tips for golfing in Python 2011-01-27T23:55:58.103

80 How on earth did llhuii output the Evil Numbers in 42 bytes of Python? 2017-09-28T23:42:04.077

59 Honest Rock, Paper, Scissors 2017-10-12T15:32:34.450

57 A game of dice, but avoid number 6 2018-12-19T08:16:03.627

55 Robot Roulette: High stakes robot gambling 2018-10-02T14:22:23.177

36 FOIL Python's strong typing! 2016-10-28T22:53:24.467

35 Noisy Iterated Prisoner's Dilemma 2018-05-04T23:46:16.933

35 Primality testing formula 2018-08-10T02:16:15.617

35 Tips for restricted source in Python 2020-08-18T14:02:02.973

33 Python workarounds for assignment in lambda 2017-01-11T22:00:30.393

33 Build a golfing language with me 2018-04-13T09:21:39.250

32 Golf Practice: Python 2014-11-18T00:07:18.793

32 First-price sealed-bid auction 2017-11-09T14:29:39.293

27 Adventurers in the Ruins 2019-04-12T17:10:03.787

25 How do I alias member functions in Python? 2014-05-08T21:03:37.907

21 Golfing Python string literals 2017-07-12T19:08:32.290

20 Iterated Prisoner's Trilemma 2018-11-12T17:43:03.287

19 Are these lists equal? 2017-04-20T18:18:42.183

18 Is there a shorter way to assign one of two variables in Python? 2015-03-10T20:01:30.890

17 Maximum number of PEP8 violations in a single line 2014-07-15T17:22:05.897

17 Is there a shorter way to get user input in python? 2015-05-27T17:12:32.823

17 Prisoner's Dilemma v.3 - Petri Dilemma 2017-05-23T00:22:31.773

16 Crash (i.e. cause the interpreter to stop working and force close) Python 2014-02-27T19:08:50.263

16 How can I use cmp(a,b) with Python3? 2015-05-07T20:04:05.027

16 Golfing with Python Import 2015-08-02T17:31:43.350

16 Omit needless spaces for me 2020-05-17T19:16:09.163

15 Get the lowest possible pylint score within 128 bytes of python 2018-09-19T13:25:12.703

15 The Celestial Bureaucracy KoTH 2019-09-20T13:20:10.943

14 Fastest python code to find a set of winning words in this game 2011-04-29T13:18:48.417

14 Python advice: Portability of introspective function call 2014-11-02T06:10:40.850

14 Abstract Syntax Tree Golfing: FizzBuzz, Python 2016-11-23T01:08:17.600

14 Chopsticks mutated with points KoTH 2017-07-19T15:50:22.163

14 Let's write a Minifier 2017-12-20T02:44:49.140

13 Concatenate lists of strings item-wise in Python 2015-05-06T01:17:16.873

13 Most common elements of a list in Python 2017-07-18T22:33:45.837

12 What is the minimum set of characters with which you can write any valid python program? 2012-08-11T11:30:28.410

12 Auto-meta-code-golf 2015-01-07T16:17:10.077

12 Am I code-golfing properly? 2015-02-26T03:06:59.483

12 Write a panic script to remote secure a Mac Pro from an untrustworthy local user 2015-09-11T00:47:42.900

12 Strategies for representing a given large integer using arithmetic expression 2016-01-25T21:54:20.750

12 Add comments to a Python script and make it a bilingual Python/C++ “program” 2016-11-05T10:58:26.410

12 KOTH - Loaded RPS 2017-05-24T08:00:52.610

12 How can I shorten this python code? 2017-10-15T18:44:11.337

12 Intersection of circles – How can I reduce this golf code to 127 bytes? 2020-02-05T17:26:46.657

11 Smallest python script to print even numbers 0 to 100 2014-08-11T14:31:19.917

11 Shortest python A + B program with input and output 2017-04-17T09:39:53.907

11 Camel Up Cup: An AI board game tournament 2018-06-20T04:27:12.827

11 White Elephant Exchange 2018-07-25T15:35:28.103

10 Python 3 - Tried Golfing My Assignment 2015-02-24T04:04:24.433

10 Non-idempotent Python 2015-07-30T19:55:29.060

10 How to find the item in a list whose f(item) is the smallest? 2016-05-17T19:41:20.440

10 Tips for golfing with numpy, scipy, or pylab 2018-02-23T21:54:05.457

10 Decode ascii and reversed words sentence 2019-12-20T10:13:13.420

9 Looking for shorter alternatives to `range(...)` 2014-11-23T19:51:39.723

9 Python: shortest way to interleave items from two lists 2018-08-03T01:50:28.343

9 Convert a string containing integers to list of integers 2019-06-19T16:32:18.583

8 Palindromic prime 2014-07-09T08:31:55.070

8 Generalized integer casting in Python 2015-05-27T02:50:08.973

8 Dungeon of botdom 2017-06-15T11:41:57.047

8 Partially-Observable Connect-4 2018-09-10T11:24:22.347

7 Python Code Reviewer 2015-09-12T13:51:05.073

7 How can I shorten this python code analyzing a 3d grid? 2016-04-14T19:12:05.573

7 Farkle Fest 2k19: An AI dice game tournament 2019-09-03T03:09:00.000

6 How can I golf this code to count all perfect squares below 100? 2017-04-07T03:20:33.900

6 Slice, Slice, Maybe 2017-08-28T14:50:07.170

6 Write a Program for winning sevens game 2018-07-11T18:24:51.610

5 Shortest Way of creating a basic Space Invaders Game in Python 2011-12-27T09:24:31.070

5 Golfing the Core 2014-10-10T17:20:56.510

5 How could I reduce the length of this code? 2015-05-07T18:59:45.373

5 all non-empty sublists partitionings of a list 2015-07-13T13:14:50.053

5 Returning the range of a number as a palindrome 2015-10-06T21:24:24.223

5 Need help golfing Python 3 code to calculate volume & surface of spheroids in <150 bytes 2016-04-10T11:15:46.587

5 Reducing a Python Script 2018-07-12T03:10:02.883

5 Russian BS - Submissions accepted until October 13th 2018-09-21T19:41:17.927

5 A nasty little memory leak 2019-02-26T02:03:20.697

4 Fastest python implementation of multiplication table 2011-11-21T21:38:34.373

4 List of paths to nested dictionary 2012-01-01T07:34:39.543

4 Solve the CodeSprint4 Leibniz code golf challenge in Python in 66 characters 2013-02-18T18:25:38.223

4 (Python) Implementing incrementation 2013-07-26T23:14:08.100

4 Shortest Solution in Python 3 for Caught Speeding - CodingBat 2020-01-06T06:23:28.397

4 Shortest python3 code for: Find the difference between a number and a power of two not exceeding a given number 2020-07-05T12:22:36.523

3 Generate N number of "Go First" dice 2012-09-08T06:37:55.670

3 shortest possible python pascal triangle code 2013-03-20T13:18:18.433

3 Minimum of a Polynomial in Python 2015-05-26T04:45:37.497

3 Shortening str.replace() 2015-10-09T20:15:11.813

3 Most creative/diabolical/entertaining way to find Python version? 2015-11-18T21:14:11.780

3 Print a flag in as little lines as possible! 2017-12-18T08:08:15.247

3 From text to ascii art from CodinGame practice puzzle 2019-12-23T16:55:51.580

2 secret language hackerrank.com 2013-03-27T17:22:33.943

2 Skip or delete lines between two keywords in a file using python 2017-04-30T09:29:14.443

2 Remove duplicates from list and order it by count? (python 3) 2020-08-19T04:13:52.013

2 Using subscription for the iteration variable in Python for loop 2020-08-29T08:13:17.697

1 How can I make this program smaller? 2012-09-02T20:48:37.833

1 Write the shortest one-statement python quine 2014-09-12T12:36:33.757

1 Dictionary Code Golf 2018-08-24T13:00:47.267

1 Shortest Python 3 for sum of arithmetic progression 2020-07-07T10:02:16.233

1 Maximum distance to station 2021-02-17T09:02:25.843

0 Python - Reverse Polish Notation 2011-12-20T21:11:06.387

0 Fastest way to generate Smarandache–Wellin number 2013-09-14T07:57:19.377