antitheft159 commited on
Commit
6dbbe29
1 Parent(s): 545f663

Upload dot605.ipynb

Browse files
Files changed (1) hide show
  1. dot605.ipynb +50 -0
dot605.ipynb ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": []
7
+ },
8
+ "kernelspec": {
9
+ "name": "python3",
10
+ "display_name": "Python 3"
11
+ },
12
+ "language_info": {
13
+ "name": "python"
14
+ }
15
+ },
16
+ "cells": [
17
+ {
18
+ "cell_type": "code",
19
+ "execution_count": 24,
20
+ "metadata": {
21
+ "colab": {
22
+ "base_uri": "https://localhost:8080/"
23
+ },
24
+ "id": "Cqh1q7nRxxKa",
25
+ "outputId": "d9891e4f-5352-48bb-8a45-26d52f701ee1"
26
+ },
27
+ "outputs": [
28
+ {
29
+ "output_type": "stream",
30
+ "name": "stdout",
31
+ "text": [
32
+ "dot605 (717) 466-1813\n"
33
+ ]
34
+ }
35
+ ],
36
+ "source": [
37
+ "import random\n",
38
+ "\n",
39
+ "def generate_phone_number():\n",
40
+ " area_code = random.randint(100,999)\n",
41
+ " exchange_code = random.randint(100,999)\n",
42
+ " subscriber_number = random.randint(1000,9999)\n",
43
+ " return f\"({area_code}) {exchange_code}-{subscriber_number}\"\n",
44
+ "\n",
45
+ "phone_number = generate_phone_number()\n",
46
+ "print(\"dot605\", generate_phone_number())"
47
+ ]
48
+ }
49
+ ]
50
+ }