Skip to content

Instantly share code, notes, and snippets.

View abhi1381's full-sized avatar
πŸ‘¨β€πŸ’»
Building

Abhishek abhi1381

πŸ‘¨β€πŸ’»
Building
View GitHub Profile
// by dave
float[][] result;
float t, c;
float ease(float p) {
p = c01(p);
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
@abhi1381
abhi1381 / latin.py
Last active March 16, 2019 16:15
This is an imaginary translator.
#user's input sentence
initial = input('what is your text:? ').strip().lower()
#list containig splited words from the initial
original = initial.split()
#new list will contain all the new translated words
words = []
for word in original: #logic to translate the word if word starts with vowel
if word[0] in 'aeiou': #interpole 'yay' at the end of it