''' import greet greet.hello() greet.bye() print(greet.x) #import greet as g #for shortcut #g.hello() ''' from greet import hello,party #from greet import * #import all methods and variables hello() party()
import greet greet.hello('홍채리') greet.niceMeet('장수연')
import greet #greetファイルをインポート greet.hello('kaito') #greetファイルのhello関数の引数に値を入れて実行
from greet import hello hello('universe') print('Bye now...')
from greet import hello, niceMeet hello('홍채리') niceMeet('장수연')
import greet greet.hello("CG Lab") greet.hello("Eunjun Jang") # add here. hello("your name") greet.hello("Sang Ho") greet.hello("Kyung Min Na") print("Github Study!")
from greet import hello import greet greet.hello("Alice") # Hello Alice I'm Bob print(greet.name) # Bob hello("Alice") # Hello Alice I'm Bob
import greet greet.hello("CG Lab") greet.clhello("Eunjun Jang") # add here. hello("your name") print("Github Study!")