Eloi Motte
banner
eloimotte.bsky.social
Eloi Motte
@eloimotte.bsky.social
Senior Product Designer

Previously working at Potloc, Razorfish, Dentsu Creative, Marcel Worldwide, Isobar ㋡

https://eloimotte.xyz/
002/100 days to learn Python ㋡
Types
January 21, 2025 at 2:22 AM
001/100 days to learn Python ㋡
1:29 hour late… let’s start again..!
January 19, 2025 at 6:30 AM
018/100 days to learn Python ㋡
Style playing with ==
It works with strings too
January 18, 2025 at 2:15 AM
017/100 days to learn Python ㋡
So from now I know how to verify when it’s smaller/greater than an other

e.g.
- 1 <= 1 is true
- 1 <= 2 is true
- 1 >= 2 is false
January 17, 2025 at 2:13 AM
016/100 days to learn Python ㋡
I forgot the screenshot, but basically I learned about < and > in order to verify if 1 is greater than 2.
January 16, 2025 at 3:29 AM
015/days to learn Python ㋡
I’ve almost lost all my hearts with this first bot
January 15, 2025 at 12:02 AM
014/100 days to learn Python ㋡
Still processing the f-string
January 13, 2025 at 10:28 PM
013/100 days to learn Python ㋡
Happy Sunday !
January 12, 2025 at 6:33 PM
012/100 days to learn Python ㋡
Right on time..!
January 12, 2025 at 4:54 AM
011/100 days to learn Python ㋡ exercised to make sure I’ve correctly understood.
January 10, 2025 at 5:58 AM
010/100 days to learn Python ㋡
January 10, 2025 at 4:09 AM
009/100 days to learn Python ㋡

Index :
✦ Snake case _
✦ The variable is the word before =
✦ = is used to define a variable value
✦ A variable can’t have a spacing
✦ print () is used to display a variable
✦ + links 2 variables
✦ « This » is a string
✦ not false is true
✦ Use == to know if it’s =
January 8, 2025 at 3:17 PM
008/100 days to learn Python ㋡

You can't use + with different kind of values (str vs int). But you can do it with formatted strings (f-strings) :

print(f"{2} new messages") will display -> 2 new messages
January 8, 2025 at 4:45 AM
007/100 days to learn Python ㋡

Use != to determine if they are different
January 7, 2025 at 2:59 AM
006/100 days to learn Python ㋡

Use == to know if they are equal
January 6, 2025 at 12:57 AM
005/100 days to learn Python ㋡

Not True is False, not False is True
January 4, 2025 at 3:49 PM
004/100 days to learn Python ㋡

True and false
January 3, 2025 at 7:04 PM
Thanks for sharing! I will definitely have a look! ㋡
January 3, 2025 at 7:00 PM
003/100 days to learn Python ㋡

day = 02
month = 01
year = 2025

print(day + “/“ + month + “/“ + year)

Result
02/01/2025
January 2, 2025 at 7:32 PM
Python ㋡
January 2, 2025 at 5:03 AM
What do you have in mind at the moment? I would be happy to complete your list or help you to elaborate on it ㋡
January 2, 2025 at 5:03 AM