This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"I am a sympathetic person.", | |
"I often use words and phrases from movies and television in conversations.", | |
"I am often surprised when others tell me I have been rude.", | |
"Sometimes I talk to loudly or too softly and I am not aware of it.", | |
"I often don't know how to act in social situations.", | |
"I can \"put myself in other people's shoes.\"", | |
"I have a hard time figuring out what some phrases mean, like \"you are the apple of my eye\".", | |
"I only like to talk to people who share my special interests.", | |
"I focus on details rather than the overall idea.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Port by: Jasmine / "neroist" on Github | |
## Orginial pseudocode algorithm: | |
## | |
## Start with a temperature, in Kelvin, somewhere between 1000 and 40000. (Other values may work, | |
## but I can't make any promises about the quality of the algorithm's estimates above 40000 K.) | |
## Note also that the temperature and color variables need to be declared as floating-point. | |
## | |
## Set Temperature = Temperature \ 100 | |
## | |
## Calculate Red: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"AF", | |
"AX", | |
"AL", | |
"DZ", | |
"AS", | |
"AD", | |
"AO", | |
"AI", | |
"AQ", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A console application for finding breakfast recipes using the BreakFast API. | |
""" | |
import requests | |
response = requests.get('https://breakfastapi.fun/').json() | |
recipe = response['recipe'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## A console application for finding breakfast recipes using the BreakFast API. | |
## If you're building this, please compile with -d:ssl | |
from httpclient import newHttpClient, getContent | |
from unicode import title | |
import strformat | |
import strutils | |
import json |