1
print ("----------------------------------------")
print ("name of the program")
print ("----------------------------------------")
import math
squareroot = int(input("Choose number:"))
answer = math.sqrt(squareroot)
print ("Answer is ",answer)
input("DONE: ")
像「轉到」我問如何「循環」了,像在基本 只是跳轉,在代碼的最後,我想這項方案問我 - 「想再走?y/n」如何循環方案,在基本
http://c2.com/cgi/wiki?GotoConsideredHarmful – leeor
@leeor甚至更爲貼切:https://xkcd.com/292/ –
@DanielRoseman經典:) – leeor