Skip to content

Commit 731123e

Browse files
authored
Merge pull request #53 from NisanurBulut/dev-sayHiPython
Dev say hi python
2 parents bbc9760 + 5c45b35 commit 731123e

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ The project topic is very simple: Users sign up for the application and see the
225225

226226
![SayHiVue](https://github.com/NisanurBulut/SayHiCode/blob/master/Trailers/Trailer_SayHiVue.gif)
227227

228+
### 14. SayHiPython
229+
<hr>
230+
<img align="left" width="120px" height="120px" src="https://github.com/NisanurBulut/SayHiCode/blob/master/Trailers/sayhi.png"><p>With this study, an introduction to OOP with python was made. Excel file reading and data processing were done.
231+
228232
## Helpfull Websites
229233
[json-to-js](https://www.convertonline.io/convert/json-to-js) [json2ts](http://json2ts.com/) [fusioncharts](https://www.fusioncharts.com/) [React-Query-Tutorial](https://www.youtube.com/watch?v=XRbnuiAbV3g&list=PLzJ4DQ1UrlRb0XiN-vecbtZ31t-Q2Z6BD&ab_channel=boraoren) [Laravel-artisan-blog](https://www.yasird.com/laravel-5-artisan-nedir/) [MailTrap](https://mailtrap.io/) [HeroIcons](https://heroicons.com/)
230234
[The Net Ninja- Laravel Tutorial](https://youtu.be/zckH4xalOns) [Quicksand](https://fonts.google.com/specimen/Quicksand) [MyColorSpace](https://mycolor.space/) [JokeAPI](https://v2.jokeapi.dev/joke/Any)

SayHiPython/Book.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
class Book:
2+
def __init__(self, name, author, publish_date):
3+
self.name = name
4+
self.author = author
5+
self.publish_date = publish_date
6+
7+
def change_publish_date(self, new_publish_date):
8+
self.publish_date = new_publish_date
9+
10+
def change_name(self, new_name):
11+
self.name = new_name
12+
13+
def get_book_info(self):
14+
print(f"Book is {self.name} written by {self.author}. It is published at {self.publish_date}")

Trailers/sayhi.png

11.1 KB
Loading

0 commit comments

Comments
 (0)