pycharm Tutorial:
https://edu.51cto.com/course/9043.html
pycharm to assist compilers, integrated development environment, one, open source is not free, need registration code, can find online.
Other similar secondary IDE, personal feel good are:
VS Code
Anaconda incidental spyder
1 # 1. whilAnacondae cycle of the output. 5. 4. 3. 6 2 1. 8. 9 10 2 I = 1 . 3 the while I <. 11 : . 4 IF I ==. 7 : . 5 Print ( ' ' , End = '' ) . 6 the else : . 7 Print (I, End = ' ' ) . 8 I = I +. 1
1 # 2 and find all numbers 1-100 2 I = 1 . 3 SUM = 0 . 4 the while I <101 : . 5 SUM = SUM + I . 6 I + = 1 . 7 Print (SUM)
1 # 3 all the odd output 1-100 2 I = 1 . 3 the while I <101 : . 4 IF I% 2 == 1 : . 5 Print (I) . 6 I + = 1 . 7 # 4. Output within 1-100 All even-numbered . 8 I =. 1 . 9 the while I <101 : 10 IF I% 2 == 0: . 11 Print (I) 12 is I = +. 1
1 # 5. seeking 1 + 3 + 2 + 4 + 5 + 99 + ... and 2 I 1 = 3 SUM = 0 4 the while I <100 : 5 SUM = SUM + I . 6 I + = 1 . 7 Print ( sum)
1 # 6. The user logs on, three chances to retry 2 i = 3 3 the while i> 0: 4 name = the INPUT ( " Please enter your name: " ) 5 password = the INPUT ( " Please enter your password: " ) 6 I = I -. 1 . 7 # assume that the user name: two small; password: 123456 . 8 IF name == ' small two ' and password == ' 123456 ' : . 9 Print ( " successful login! " ) 10 BREAK . 11 the else: 12 Print ( " account password does not match, please re-enter, you have " + str (i) + " Chance! " ) 13 IF i == 0: 14 Print ( " current number has been exhausted, your account locked, please contact customer service to unlock! " )