Recently busy learning MySQL, but will not give up Xiao Bian learned Python !!!
For the love of learning so ~
Ok everybody, that is entered, due to the time learned today is not a lot ....
# ! / Usr / bin / Python the env # - * - Coding: UTF8 - * - # INPUT string receiving only, needs conversion before computing the character type InP = INPUT ( " Number: " ) new_inp = int (InP) the while new_inp 10 == : NUM = + 90 new_inp Print (NUM) BREAK the else : Print ( " Please enter the number 10! " ) # Continue terminate the current cycle, break out the whole cycle COUNT = 0 the while COUNT <10 : IF COUNT ==. 7 : countCOUNT + 1 = the Continue Print (COUNT) COUNT = COUNT + 1 # in, not in use name = " My World " IF " World " in name: Print ( ' the ok ' ) elif " Ah Kun " not in name: Print ( ' nonull ' ) the else : Print ( ' null ' )