This file contains 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
# Hacking into Crush's Heart! 💘🕵️♂️ using BASE64 | |
import base64 | |
import time | |
class LoadingScreen: | |
def show_loading(self, duration): | |
for _ in range(duration): | |
for char in "|/-\\": | |
print(f"\033[92mHACK KO NGA PUSO NI CRUSH... 🕵️♂️ {char}\033[0m", end="\r") |
This file contains 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
# include <iostream> | |
using namespace std; | |
int main() { | |
char op; | |
float num1, num2; | |
cout << "Enter operator: +, -, *, /: "; | |
cin >> op; |
This file contains 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
# PythonPH - Holiday Coding Challenge | |
import random | |
# holiday greetings | |
def holiday_greeting(name, holiday): | |
greetings = ["Merry", "Happy", "Joyous", "Cheerful", "Festive"] | |
feelings = ["love", "joy", "peace", "happiness", "warmth"] | |
actions = ["spreading", "sharing", "bringing", "sending"] | |
greeting = random.choice(greetings) + " " + holiday + "," | |
feeling = "filled with " + random.choice(feelings) + "," |