+ 1
Shout function help ?
create a function named shout() that's adds three exclamation marks (!!!) to any string passed to the function
3 ответов
+ 6
***for JavaScript *
function shout(s){
return s+"!!!";
}
***for Java
String shout(String s){
return s+"!!!";
}
+ 6
***for C#
string Shout(string s)
{
return s+"!!!";
}
+ 2
***for Python to print the shout
def shout(a)
print ("a" + "!!!")
shout("Is this loud enough")
-------------------------------------
***for Python to return it
def shout(a):
a = a + "!!!"
return a
yell=shout("go to hell")
print(yell)