// **Day3
// **for number in 1...10
//let closedRangeNumber = ["t","w","w"]
//for i in 0..<closedRangeNumber.count
//{
// print(closedRangeNumber[i])
//}
//
//for index in 1...10
//{
// print(index)
//}
//
//for indexNumber in 1..<10
//{
// for j in 1...10
// {
// j
// }
//}
//
//let isChange = true
//let aValue = 1
//
//if ((aValue != 1) || (isChange == false))
//{
// print("no")
//}else {
// print("yes")
//}
//
//
//if aValue==1 && isChange == true
//{
// print("yes")
//}else {
// print("no")
//}
//
//let str = "can not change"
//var str2 :String? = "can be changed"
//
//str2! += str
//var str :String? = "HelloWorld"
//for c in firststr
//{
// print(ca)
//}
//
//var ch : Character = "!"
//str!.append(ch)
//
//str!.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)
//
//print(str)
//
//
//var newString = "hello"
//let length = newString.characters.count
//
//let strValue = "你好 小平爷爷"
//
//let length1 = strValue.characters.count
//
//strValue.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)
//let testStr = ["twwString","tww2","tww3","tww5","tww6"]
//for nameString in testStr
//{
//
// if nameString.hasPrefix("twwS")
// {
// print("yes")
// }
// if nameString.hasSuffix("6")
// {
// print("yes it has number 6")
// }
//
//}