Zhejiang version of "Python Programming" answer to the first chapter title set (for personal use)

Chapter 1 -1 keyboard input from two numbers, and seeking and their outputs (30 minutes)
a = int(input())
b = int(input())
print(a+b)
Chapter 1 -2 keyboard input to the three numbers a, b, c, the output value according to the formula (30)
list1 = input().split()
a = int(list1[0])
b = int(list1[1])
c = int(list1[2])
print(b*b-4*a*c)
Chapter 1-3 Output "Python language easy to learn" (10 points)
s = "Python语言简单易学"
print(s.encode("utf-8"))

Published 21 original articles · won praise 0 · Views 488

Guess you like

Origin blog.csdn.net/qq_39901722/article/details/104546533