Skip to content

Instantly share code, notes, and snippets.

View apsicle's full-sized avatar
💭
chillin

Ryan Yan apsicle

💭
chillin
  • Gamechanger
  • New York, New York
View GitHub Profile
if __name__ == "__main__":
for num in range(1,101):
out_str = ""
if(num % 3 == 0):
out_str += "Crackle"
if(num % 5 == 0):
out_str += "Pop"
if(not out_str):
out_str += str(num)
print(out_str)
#include "Light.hpp"
#include <cmath>
void Light::set (double x, double y, double z) {
this -> loc.set(x, y, z);
}
Light::Light(void) {
set(5, 10, 0);
}