Tip Calculator -Problem Set 0 (CS50's Introduction to Programming with Python)

preview_player
Показать описание
Hello, everyone and welcome to another video, in this video, I will explain and solve problem set 0, Tip Calculator.

if you haven't already submitted this problem, You have to try this on your own.
This video is to just give you a way to solve this problem , try solving it using a different approach, to get the most benefits out of this experience.

Don't forget to hit the like button and subscribe to the channel, and if you have any questions or want an explanation for a specific problem leave a comment down below.

Рекомендации по теме
Комментарии
Автор

i really love your assistance, however, idk how itf i was supposed to figuire this sh out w/o already knowing this sh!! dang it! lmfao. but, thank you, seriously. Corey, Seattle

burkedetailedpaintingcompany
Автор

Also can use strip instead of replace. Would look like
d = float(d.strip(‘$’))

HUZZAH-Life
Автор

Thanks for the video! Was super helpful

kulzumfahim
Автор

I always forget the return statement. But is it ok if I don't mention it and why do I have to add it if my result still works well? Please let me know

Tiffany_
Автор

literally always forget the return statement at the end of my functions smdh lol

SteveCatLover
Автор

why do I get this error bro?
syntax error for return d. I wrote same as you

ashrafalvee