Skip to content

Instantly share code, notes, and snippets.

View RafaelCenzano's full-sized avatar
🐍
Python!

Rafael Cenzano RafaelCenzano

🐍
Python!
View GitHub Profile
import os
class Config(object):
DEBUG = True
TESTING = False
SECRET_KEY = os.environ.get('flasksecretkey') or 'this-should-be-different-and-a-secret'
from project import app
if __name__ == '__main__':
app.run()
*.DS_Store
# Hide virtualenv
venv/
# Hide compiled python files
*.pyc
__pycache__/
@RafaelCenzano
RafaelCenzano / Four4s.java
Last active May 25, 2020 18:36
Four 4s challenge trying to get integers from 1-10 {Completed} working on 11-20
public class Four4s{
public static void main(String[] args){
System.out.println("Four 4s challenge\n");
System.out.println(44-44);//0
System.out.println(44/44);//1
System.out.println((4/4)+(4/4));//2
System.out.println((4+4+4)/4);//3
System.out.println(((4-4)*4)+4);//4
System.out.println((44)/(4+4));//5
System.out.println(((4+4)/(4))+4);//6