Advertisement
Josif_tepe

Untitled

Sep 28th, 2024
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1.  
  2.  
  3. def main():
  4.     x = calculate(1, 2)
  5.     print(x)
  6. def calculate(a, b):
  7.     return a + b
  8.  
  9. if __name__ == "__main__":
  10.     main()
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement