Created
June 16, 2021 08:58
-
-
Save NurettinSelim/da7d96cd392e291cd0dab21977829e25 to your computer and use it in GitHub Desktop.
This file contains 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
# Inspired from https://twitter.com/YTolun/status/1405056460648759299 | |
last_day_index = int(input("Kaç günlük twit oluşturmak istersiniz? ")) + 1 | |
day_index = 1 | |
message_content = "Aşıyla ilgili şaka yapmak" | |
day_name= "Bugün" | |
while day_index < last_day_index: | |
if day_index == 2: | |
day_name = "Yarın" | |
elif day_index > 2: | |
day_name = f"Yarından {day_index-2} sonraki gün" | |
if day_index % 2: | |
message_content = message_content[:-6] + "yapanlarla ilgili şaka yapmak" | |
else: | |
message_content = message_content[:-6] + "yapmakla ilgili şaka yapmak" | |
print(f"{day_name}: {message_content}") | |
day_index += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment