Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring Type Hints Library

load "typehints.ring"

see sum(3,4) + nl ;
see sayHello("Mahmoud");

int func sum(int x,int y) {
        return x+y ;
}

string func sayHello(string name) {
        return "Hello " + name ;
}
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #Type #Hints #Library
ADD COMMENT
Topic
Name
2+4 =