Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let fruits = [
- "🍎": 1,
- "🍌": 2,
- "🍒": 3,
- ]
- if fruits["🍑"] != nil {
- print(fruits["🍑"]!)
- }
- else {
- print(fruits["🍑"])
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement