This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # What is the sum of primes between 7000 and 1000000 that starts with a 7 or ends with a 3? | |
| primesList=[] | |
| startSeven=[] | |
| endThree=[] | |
| lower = 7000 | |
| upper = 1000000 | |
| for num in range(lower, upper + 1): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_filter('woocommerce_thankyou_order_received_text', 'woo_change_order_received_text', 10, 2 ); | |
| function woo_change_order_received_text( $str, $order ) { | |
| $new_str = $str . ' We have emailed the purchase receipt to you.'; | |
| return $new_str; | |
| } |