Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- #-*-coding:utf-8-*-
- iller=["Antalya","Izmir","Istanbul"]
- print iller,"\n"
- iller.extend(["Mersin","Bolu","Trabzon"])
- print iller,"\n"
- #extend ile çok sayıda append ile tek sayıda eklenir
- iller.extend("Samsun")
- print iller,"\n"
- for harf in "Ankara":
- iller.append(harf)
- print iller,"\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement