def greeting_loop(msg, count): for i in range(count): helper.greeting(msg)
# import a custom library inside the python repl import math # pulling in the math library say import math then press return math.sqrt( 4) # you can say math square root and pass in any number in the parens # Place in file create_custom_module_import def greeting( first, last ): # create the function and pass in the first and last as arguments return f'Hi {first} {last}!' # now return the values #----------------------------------------------------------------------------- # Call from repl start the python environment import helper # name is create_custom_module_import NOT helper helper.greeting('Kristine', 'Hudgens') #
from helper import greeting greeting("hey")
from helper import greeting if __name__ == "__main__": greeting("github is great")
from helper import greeting greeting("hello kitteh")
#Hudson Ayers hra5th from helper import greeting if __name__ == '__main__': msg = "hello" greeting(msg) greeting(msg)
from helper import greeting greeting("hello ", "Apurva")
from helper import greeting if __name__ == "__main__": greeting("Have another one!")
__author__ = "Berkeley Fergusson (wbf7kx)" import helper if __name__ == "__main__": helper.greeting("Hello Hello")
def render(): print(h.greeting('Elizabeth', 'Martinez'))
import helper if __name__ == "__main__": helper.greeting("so fun")
from helper import greeting print("This is a change from new-feature1 branch") greeting("This is my greeting") print("This is a change from master")
def main(): helper.greeting("hello") result = add(1, 7) helper.greeting(result)
__author__ = "BrianAguirre" from helper import greeting greeting("Hello")
def main(): # print "hello" greeting("I am Joshua Angeley")
__author__ = "Berkeley Fergusson (wbf7kx)" import helper if __name__ == "__main__": helper.greeting("Print some stuff") helper.greeting("and print some more stuff")
#!/usr/bin/python3 __author__ = "mjk6zt" from helper import greeting greeting("hello, world")
__author__ = 'Ben' from helper import greeting greeting("new file says hi") greeting()
import helper if __name__ == "__main__": helper.greeting('Hello, after change.py made in master')
# Chiara Sauvage import helper if __name__ == "__main__": helper.greeting("hello") helper.greeting( "Look at your boyfriend. Now look at me. Now back to your boyfriend- NOW BACK TO ME." )
# hello.py # Ryan Donovan (rad9vy) import helper import newFile if __name__ == "__main__": helper.greeting("Hi I'm Ryan.") print("Hello.") print(newFile.count_greeting("Hi I'm Ryan."))
from helper import greeting if __name__ == "__main__": greeting('Hello')
__author__ = 'vanessadyce' from helper import greeting if __name__ == '__main__': greeting("Greetings")
from helper import greeting greeting("Hello!")
from helper import greeting if __name__ == "__main__": greeting("empty")
from helper import greeting print("Hello World!") greeting("hello")
from helper import greeting if __name__ = '__main__': greeting("Goodbye")
def render(): print(h.greeting('Tiffany', 'Hudgens'))
from helper import greeting greeting("Hello World!")
from helper import greeting from helper import accusation greeting("hello") greeting("you are all my precious friends") accusation("you are all my precious friends") accusation("I trusted you sir")
from helper import greeting greeting("This is another new file")
from helper import greeting greeting("squanch")
from helper import greeting if __name__ == "__main__": greeting("hello2")
import helper helper.greeting("hello") print("goodbye, for now.")
from helper import greeting print("hello") greeting("hello from the helper method!")
__author__ = 'Mamadou' from helper import greeting greeting("hello");
import helper helper.greeting('hello') for x in range(10): print(x)
__author__ = 'cjk4wr' from helper import greeting print("hello") greeting('hello!')
from helper import greeting greeting("YOOOOO WHATS UP")
from helper import greeting from newmaster import printintmult if __name__ == "__main__": greeting("hello") printintmult(5) greeting("hola amiga!")
def render(): print(h.greeting('James', 'Jager'))
def test(): greeting("yo")
from helper import greeting greeting("hello from other file, ", "Apurva")
""" Kean Finucane (kf9zy) Lab 5 - Git and Github CS 3240 - Smith 16 February 2017 """ __author__ = 'Kean Finucane' from helper import greeting from helper2 import excited_greeting def example(): print('This is an example') if __name__ == '__main__': greeting('hello') <<<<<<< HEAD example() ======= excited_greeting('hello') >>>>>>> develop
def render(): print(h.greeting('Kristine', 'Hudgens'))
import helper if __name__ == '__main__': helper.greeting("What's up?")
import helper if __name__ == "__main__": helper.greeting("go hoos")
def goodbye(msg): greeting(msg) print("Good bye!" + msg)
__author__ = 'gkr6sy' from helper import greeting greeting('hello')
from helper import greeting if __name__ == "__main__": greeting("This is different!")
__author__ = 'gqt4ev' import helper if __name__ == "__main__": message = "hello" helper.greeting(message) x = 25 y = 30 mathematics = helper.calc(x, y) print(mathematics)
from helper import greeting if __name__ == "__main__": greeting("hello")
import helper helper.greeting("hello world")
import helper if __name__ == '__main__': helper.greeting("Hello")
import helper helper.greeting("this is not a greeting.")