Skip to content

Instantly share code, notes, and snippets.

@Abhayparashar31
Created December 11, 2020 05:40
Show Gist options
  • Save Abhayparashar31/624d50c4e443900ad4dd5cdc9ff04d87 to your computer and use it in GitHub Desktop.
Save Abhayparashar31/624d50c4e443900ad4dd5cdc9ff04d87 to your computer and use it in GitHub Desktop.
import requests
res = requests.get(''http://numbersapi.com/7/math")
print(res.text)
----------------------
7 is the lowest number that cannot be represented as the sum of the squares of three integers.
res = requests.get("http://numbersapi.com/3/31/date")
print(res.text)
--------------------------------
March 31st is the day in 1909 that Serbia accepts Austrian control over Bosnia and Herzegovina.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment