Skip to content

Instantly share code, notes, and snippets.

@Zalasyu
Created April 22, 2021 22:10
Show Gist options
  • Save Zalasyu/d6f76bb4f9561a6c50c8257746c4cf79 to your computer and use it in GitHub Desktop.
Save Zalasyu/d6f76bb4f9561a6c50c8257746c4cf79 to your computer and use it in GitHub Desktop.
This these files is a an incorrect way to import modules.
# A primitive calcuator simulator
def multiply(num_1, num_2):
"""Returns the product of two numbers"""
return num_1 * num_2
def add(num_1, num_2):
"""Returns the sum of two numbers"""
return num_1 + num_2
result = multiply(3, 5)
print(f'Here is your result {result}')
import calc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment