h
class UserInfo:
def __init__(self, first_name, last_name, age, job, hobbies):
self.first_name = first_name
self.last_name = last_name
self.age = age
self.job = job
self.hobbies = hobbies
self.email = first_name + last_name + "@gmail.com"
def full_name(self):
return self.first_name + self.last_name
import codewars_test as test
# TODO Write tests
import solution # or from solution import example
# test.assert_equals(actual, expected, [optional] message)
@test.describe("Example")
def test_group():
@test.it("test case")
def test_case():
test.assert_equals(1 + 1, 2)