Merge branch 'master' into master

This commit is contained in:
tolgakurtuluss 2022-10-05 14:30:03 +03:00 committed by GitHub
commit 0ba6f69701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 14 deletions

View File

@ -330,20 +330,6 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
<br /> <br />
<sub><b>Sameer Sahu</b></sub> <sub><b>Sameer Sahu</b></sub>
</a> </a>
</td>
<td align="center">
<a href="https://github.com/NishantPacharne">
<img src="https://avatars.githubusercontent.com/u/71060551?v=4" width="100;" alt="NishantPacharne"/>
<br />
<sub><b>Nishant Pacharne</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/tolgakurtuluss">
<img src="https://avatars.githubusercontent.com/u/22731161?v=4" width="100;" alt="tolgakurtuluss"/>
<br />
<sub><b>Tolga Kurtulus</b></sub>
</a>
</td></tr> </td></tr>
</table> </table>
<!-- readme: contributors -end --> <!-- readme: contributors -end -->

View File

@ -0,0 +1,22 @@
# pip install Faker
from faker import Faker
fake = Faker()
print("--------- Generate ---------------")
print("1. Name")
print("2. Email")
print("3. Job")
print("4. Address")
options = {1: fake.name(), 2: fake.email(), 3: fake.job(), 4: fake.address()}
print("----------------------------------")
user_input = int(input("Choose Option:- "))
print("----------------------------------")
if user_input in options:
print(f"Result: {options[user_input]}")
else:
print("Please try again with a valid option.")

View File

@ -0,0 +1,15 @@
# Fake Data Generator
super easy and simple python script to generate random data
## Perfect for beginners
- usage of libraries
- working with input
- working with dictionaries
## Installation
Install the dependencies
```sh
pip install -r requirements.txt
```

View File

@ -0,0 +1,3 @@
Faker==15.0.0
python-dateutil==2.8.2
six==1.16.0