#练习一 hello worldprint("hello world1")text = "HELLO WORLD"print(text)#这也是注解#练习二 使用者输入"""""""""这是注解i = int(input())if i > 100: print('i>100')elif i == 0: print("i = 0")else: print("i<100")"""""""""#练习三 for迴圈ss = 0for n in range(0,100): ss = ss + nprint(ss)#练习四 functiondef GetNum(x,y): if x > y: return x elif x < y: return yprint(GetNum(5,6))print(GetNum(10,6))#练习五class MyClass: def SetName(self,name): self.name = name def GetName(self): return self.nametest = MyClass()test.SetName('你的名字我的名字')print(test.GetName())#练习六#练习七