C'est bon as-tu bien tout regardé ?
okay alors laissons la société IMB prendre le controle de votre machine! et renversons l'histoire! vous n'aurais plus le meme controle sur votre ordinateur résister a IMB autant que vous le pouvez.
laisser prendre le controle
def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown" def cast_spell(spell): if spell == "fireball": print("Casting fireball!") elif spell == "levitation": print("Levitating objects!") else: print("Unknown spell.") Fichier 2: wizard_class.cs csharp public class Wizard { private string name; private int level; public Wizard(string name, int level) { this.name = name; this.level = level; } public void StudySpellBook() { Console.WriteLine(name + " is studying the spellbook."); } } Fichier 3: potions.rb ruby class Potion def initialize(ingredients) @ingredients = ingredients end def brew puts "Brewing potion with #{@ingredients}." end end Fichier 4: enchanted_forest.js javascript class EnchantedForest { constructor(name) { this.name = name; } getResidents(type) { console.log(`Fetching residents of type ${type} from the ${this.name} forest.`); } } Fichier 5: alchemy_functions.py python def transmute(substance): if substance == "lead": return "gold" elif substance == "iron": return "silver" else: return "unknown"
c'est partie !