shadowing variable: 6 composite type use 128,64.1,8 composite type use point mark fetch tuple value 128,64.1,8 first 3 second 3 The value x: 5 The value y: 6 The num value: 5 result the number 11 The flag value: 3 The flag value: 2 The flag value: 1 The while off result value: 0 The element i value: 1 The element i value: 2 The element i value: 3 The element i value: 4 The element i value: 5 The reverse out put i value: 3 The reverse out put i value: 2 The reverse out put i value: 1 hello,world hello clone,hello clone hello 5 The length '5' of hello The mutable reference length '11' of hello,world The mutable immutable reference 'hello' ,'hello' ,'hello' hello,world hello world 1500 Rectangle { width: 30, height: 50 } Rectangle { width: 30, height: 50, } true false option enum 10 test 0 ...... vector use 2 The third none element 51 52 53 54 55 56 string slice hello world! The string concat hello world hello world! The string format hello world hello world! hello vector hashmap { "wonderful": 1, "hello": 1, "world": 2, } The largest number is 20 The largest number is 100 The string largest number is world p3.x=1,p3.y=A new tweet: hello tweet The result value abcd The first sentence value Call me Peter