#!/usr/bin/python
class kereta():
def __init__(self):
self.myval = 0
def tambah(self, n):
self.myval += n
mm = kereta()
mm.tambah(5)
print("value pertama: "+str(mm.myval))
mm.tambah(4)
print("Lepas tambah: "+str(mm.myval))
IyEvdXNyL2Jpbi9weXRob24KCmNsYXNzIGtlcmV0YSgpOgoJZGVmIF9faW5pdF9fKHNlbGYpOgoJCXNlbGYubXl2YWwgPSAwCgoJZGVmIHRhbWJhaChzZWxmLCBuKToKCQlzZWxmLm15dmFsICs9IG4KCm1tID0ga2VyZXRhKCkKbW0udGFtYmFoKDUpCgpwcmludCgidmFsdWUgcGVydGFtYTogIitzdHIobW0ubXl2YWwpKQoKbW0udGFtYmFoKDQpCgpwcmludCgiTGVwYXMgdGFtYmFoOiAiK3N0cihtbS5teXZhbCkp