Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 871 Bytes

File metadata and controls

41 lines (23 loc) · 871 Bytes

1linePython

Collection of 1-line Python answers on some online code challenges.

Contribution

Please use this template if you want to contribute to this list:


🧩 Problem Title

Source: Link

Description:

Description and example

Answer:

#Code in Python

Explanations:


Notes

  • Many of the answers are not really 1-line Python code, as they use functions from libraries.
  • Many of the answers are not the best optimized answer. However they fit under the requirement of problem's Execute Time limit.
  • Code challenge websites usually imported some default Python libraries, but the list may vary between sites.

Contributors: