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
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.
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
<?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.
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
<?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 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
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: ")) |