This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Part III complete

Jay Krishnan (Jul 4, 2026, 1:30 PM +0200) 97511502 bd726b24

+94 -1
+2 -1
alchemy/__init__.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 10:06:29 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 12:19:43 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/04 13:29:54 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 14 14 from alchemy.elements import create_air 15 15 from alchemy.potions import healing_potion as heal 16 16 from alchemy.potions import strength_potion 17 + from alchemy.transmutation.recipes import lead_to_gold
alchemy/__pycache__/__init__.cpython-310.pyc

This is a binary file and will not be displayed.

+14
alchemy/transmutation/__init__.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # __init__.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 13:17:04 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 13:26:20 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + from .recipes import lead_to_gold
alchemy/transmutation/__pycache__/__init__.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/transmutation/__pycache__/recipes.cpython-310.pyc

This is a binary file and will not be displayed.

+20
alchemy/transmutation/recipes.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # recipes.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 12:23:39 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 12:49:56 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + import elements as root_elements 15 + from .. import elements as local_elements 16 + from .. import potions 17 + 18 + 19 + def lead_to_gold() -> str: 20 + return (f"Recipe transmuting Lead to Gold: brew ’{local_elements.create_air()}’ and ’{potions.strength_potion()}’ mixed with ’{root_elements.create_fire()}’")
+19
ft_transmutation_0.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_transmutation_0.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 12:37:32 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 12:48:44 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + import alchemy.transmutation.recipes 15 + 16 + if __name__ == "__main__": 17 + print("=== Transmutation 0 ===") 18 + print("Using file alchemy/transmutation/recipes.py directly") 19 + print(f"Testing lead to gold: {alchemy.transmutation.recipes.lead_to_gold()}")
+19
ft_transmutation_1.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_transmutation_1.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 13:15:34 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 13:26:33 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + import alchemy.transmutation 15 + 16 + if __name__ == "__main__": 17 + print("=== Transmutation 1 ===") 18 + print("Import transmutation module directly") 19 + print(f"Testing lead to gold: {alchemy.transmutation.lead_to_gold()}")
+20
ft_transmutation_2.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_transmutation_2.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 13:24:09 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 13:29:20 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + import alchemy 15 + 16 + 17 + if __name__ == "__main__": 18 + print("=== Transmutation 2 ===") 19 + print("Import alchemy module only") 20 + print(f"Testing lead to gold: {alchemy.lead_to_gold()}")