This repository contains some of the first programs I wrote during my journey learning Python(programming).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Red Starfish 8039118e5f Corrected the copyright text 6 months ago
src Corrected the copyright text 6 months ago
LICENSE Initial commit 7 months ago Added info about 6 months ago


Copyright (c) 2020 Abhiseck Paira

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.



This repository contains some of the first programs I’ve written during my journey of learning Python(programming). I’ve tested this programs GNU/LINUX. I’ll be modifying these programs as I learn new things, and also will be adding new progams too. You can contact me via matrix:

The source codes are in src directory. Though I’ve written all these source codes present here from scrarch but the inspiration and ideas of some of these programs come from Al Sweigart and his excellent book for beginners Automate The Boring Stuff With Python: Pratical Programming For Total Beginners which is also availbale under Creative Commons License and you can read it here.


  • - A simple command line coin toss game. In this game the player gets two tries to guess the result of coin toss.

  • - This command line program extracts phone numbers, emailIds, links, valid dates from the clipboard and paste the extracted links back to clipboard. In case of links, it changes and links to privacy respecting and links and paste them to clipboard.

  • - In this command line game the player is presented with 5 randomly arranged alphabets and player has to write the correct order as quickly and as many as possible within 60 seconds. The score will be printed on the screen.

  • - Starting with a arbitrary positive integer N, if N is odd then a new number is obtained by: 3N + 1 if N is even then a new number is obtained by: N / 2.
    This way we find a sequence of numbers that terminates with 1 but no one has been able to prove it mathematically. This conjecture is named after Lother Collartz who introduced this idea in 1937. More at Wikipedia.
    This program lets its user put a arbitrary number and prints the collatz sequnce on screen. It aslo shows the highes number the sequence reached.

  • - In this simple deduction game, the program assumes a 3 digit random number. The player gets 10 guesses to get the correct number. The program also supplies the player with clues to help the player.

  • - A joke program on how to keep an idiot busy for hours.

  • - Play hand football with computer.

  • - A Simple Rock, Paper Scissor game.