Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Beginer's solution solution in Uncategorized category for Say Hi by Vojtas
# 1. on CheckiO your solution should be a function
# 2. the function should return the right answer, not print it.
def say_hi( a, b) :
"""
Hi!
"""
# your code here
return "Hi. My name is {0} and I'm {1} years old".format(a,b)
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert say_hi("Alex", 32) == "Hi. My name is Alex and I'm 32 years old", "First"
assert say_hi("Frank", 68) == "Hi. My name is Frank and I'm 68 years old", "Second"
print('Done. Time to Check.')
June 4, 2018
Comments: