Get maximum Value
Enter a number of integers to print the maximum value. If the input is empty, exit the program
Use the while loop and the IF statement to determine its printing criteria:
Print 99 multiplication table
Use the FOR Loop statement to print the left multiplication table:
Use the placeholder in the Format function to print the left-hand reverse-permutation multiplication table
Print right-hand permutation multiplication table
The IF statement determines its printing location method, and uses the Format function to locate the method
Print Right Diamond
Use a For loop with the symmetry of a diamond, if statement limits the symmetric printing of a diamond
Using ternary expressions to simplify the IF statement, changing the diamond size for a given diamond range variable
Print to top triangle
Use the same method as the diamond to change its printing algorithm to hit:
Print Lightning
Add an If statement on a similar method to determine its print condition to print:
All primes within 100,000 are calculated
Use nested for loop statements based on the nature of the prime number itself:
Using its characteristics to optimize the Sieve method, quickly print 100000 primes:
If and looping exercises in Python