Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1
Hey guys, welcome back to Day 2 of 100 Days of code.
2
In today's lessons, you're going to be learning about datatypes, numbers,
3
operations, type conversion, f-strings, and a whole lot more.
4
And by the end of today,
5
you will have learned enough to build a tip calculator.
6
So it looks a bit like this. It says, welcome to the tip calculator.
7
It asks you for the total bill that you need to pay.
8
So let's say it came to $124.54 we hit enter and then it asks you how many
9
people do you want to split the bill between?
10
So let's say this five of us having the meal and it asks you finally,
11
what percentage tip would you like to give?
12
So let's say we give a 12% tip.
13
Now it's going to calculate what each person should pay,
14
taking into account all of these pieces of information that you've put in.
15
So I know that I'm pretty bad at math,
16
especially when it comes to splitting bills.
17
And I'm normally the person who just says, yeah,
18
just tell me what I need to pay so I don't have to calculate it.
19
It's like the bad-at-math tax that I pay.
20
But in order to build this, you're going to need to learn some new skills,
21
including working with numbers, converting data types from one type to another,
22
and a whole lot more. So if you feel like you can tackle this, no problems.
23
Then feel free to skip today's lessons.
24
But I bet that there'll be loads of stuff that you'll come across in the
25
upcoming lessons and coding exercises that's really going to make you a better
26
developer. So once you're ready to get started,
27
head over to the next lesson and let's start coding.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.