Skip to content

Instantly share code, notes, and snippets.

Lawrence Wachira LarryWachira

  • Nairobi, Kenya
Block or report user

Report or block LarryWachira

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
LarryWachira /
Last active Oct 28, 2019
Working with python-crontab
import sys
print(f'What\'s up! {datetime.datetime.utcnow()}')
LarryWachira /
Last active Oct 28, 2019
A `command line application` that uses a public API that reports data on the number of people in space. One of my first lines of Python.
if answer == 'Y' or answer == 'y':
print("Well, what are you waiting for? Guess how many humans are in space right now:\n> ")
answer = input()
if answer == info["number"]:
print("Of course. Google, right? \n\n:( ")
print("Wrong! There are {} people in space right now.".format(info["number"]))
print("\n That'll be one billion dollars. I'll take cash.")
You can’t perform that action at this time.