Skip to content

girishtulabandu/One_line_PythonPrograms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One_line_PythonPrograms

This repository holds simple/complex python programs that can be written in single line.

Contribution Guidelines

  • Kindly check the repository and active PR's before making PR to avoid duplicate programs
  • Avoid very basic programs like printing "hello world", additions, subtractions etc..
  • Do not add print statements
  • Do not hardcode any variables
  • Your script file should contain only two lines.
    1. comment (what your program does) (can be multiline comment)
    2. Your actual program in single line
  • Your comment should contain sample input and expected output
  • Your file name should also contain only the program name.
  • Read contribute.md file to know "How to contribute to this repository"