下表实例变量a值为字符串"Hello",b变量值为"Python": 示例二: #!/usr/bin/python # -*- coding: UTF-8 -*- a = "Hello" b = "Praifire" print "a + b 输出结果:", a + b print "a * 2 输出结果:", a * 2 print "a[1] 输出结果:", a[1] print "a[1:4] 输出结果:", a[1...