Skip to content

Instantly share code, notes, and snippets.

View jeremy776's full-sized avatar
🌴
Hooh

Christian Jeremy jeremy776

🌴
Hooh
  • LazyyPeople
  • Bandar Lampung
  • 03:18 (UTC +07:00)
View GitHub Profile
@jeremy776
jeremy776 / turtle.py
Created September 30, 2025 07:08
Tugas PP Study Kasus 1
import ColabTurtlePlus.Turtle as tl
while True:
print("==================================")
print("==={ Pilih Bentuk dibawah ini }===")
print("==={ circle, octagon, square }===")
print("==================================")
pilihan = input("Pilih Bentuk : ")
match pilihan:
case "circle":
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' b:templateVersion='1.0.0' expr:class='data:blog.languageDirection' expr:dir='data:blog.languageDirection' expr:lang='data:blog.locale' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<b:attr name='xmlns' value=''/>
<b:attr name='xmlns:b' value=''/>
<b:attr name='xmlns:expr' value=''/>
<b:attr name='xmlns:data' value=''/>
<head>
<meta charset='utf-8'/>
<meta content='width=device-width, initial-scale=1' name='viewport'/>
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:defaultwidgetversion='2' b:layoutsVersion='3' b:responsive='true' b:templateVersion='1.0.0' expr:class='data:blog.languageDirection' expr:dir='data:blog.languageDirection' expr:lang='data:blog.locale' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<b:attr name='xmlns' value=''/>
<b:attr name='xmlns:b' value=''/>
<b:attr name='xmlns:expr' value=''/>
<b:attr name='xmlns:data' value=''/>
<head>
<meta charset='utf-8'/>
<meta content='width=device-width, initial-scale=1' name='viewport'/>
@jeremy776
jeremy776 / password_gen.py
Created April 18, 2023 14:00
generate random password
import random
import string
def generate_password(length):
char = string.ascii_letters + string.digits + string.punctuation
password = ''.join(random.choice(char) for i in range(length))
return password
def main():
length = int(input("Masukan panjang password: "))