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 | |
| //api token bot | |
| $botToken = " "; | |
| $website = "https://api.telegram.org/bot".$botToken; | |
| $update = file_get_contents('php://input'); | |
| $update = json_decode($update, TRUE); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Lista de la compra</title> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> |
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
| puts "======================" | |
| puts "| CALCULADORA BÁSICA |" | |
| puts "| EN RUBY |" | |
| puts "======================" | |
| ops = ["1.suma","2.resta","3.multiplicación","4.división"] | |
| begin | |
| puts "\n¿Qué operación deseas realizar?" |
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
| word = input("Please write a word: ") | |
| word = word.lower() | |
| def isIsogram(word): | |
| array = [] | |
| for character in word: | |
| if character not in array: | |
| array.append(character) | |
| else: | |
| print("Is not an isogram") |
OlderNewer