Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Exercise 2: Counting Combatants
- building_num = 3
- ninjas_in_each_building = 25
- tunnel_num = 2
- samurais_in_each_tunnel = 40
- print(building_num * ninjas_in_each_building + tunnel_num * samurais_in_each_tunnel)
- # Exercise 3: Greetings!
- first_name = "Kevin"
- last_name = "Sheng"
- print("Hi there, " + first_name + " " + last_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement