Learn to Program 4 : String Functions

preview_player
Показать описание


This time in my Learn to Program series we'll cover many string functions and how they can help use solve complex programming problems. We'll do more with exceptions. We'll start to explore lists. We'll create our first function. And, we'll create an acronym generator and explore the basics of encryption.

Thank you to Patreon supports like the following for helping me make this video

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

Thank you Derek! With you as a teacher is very easy to learn.

fermincontreras
Автор

Your way of teaching by giving us real world programs to create is the best way to learn. I'm learning more from your videos than the MIT Computer Science Open Course Ware, thank you for making them.

SkillCollectors
Автор

These tutorials with the challenges are definitely the best of your videos so far. Keep it up!
I tried doing the encryption challenge on my own and eventually got it, but in a far more complicated way than you, and the bugs drove me crazy for about an hour

andrewmuller
Автор

Great tutorials as usual. I like to learn, study, implement(think) technique you've added to your tutorials. The dark theme do remove distractions-multicolored text every where. Great job!

diahrongrismore
Автор

I am beginner level Phyton learner. And I love your videos; you explain every detail in simple and clear ways, but can you create a video list on your Youtube channel which will make all your Phyton tutorial videos united?

GoktugAsc
Автор

You can reduce the amount of code from 5 lines to 3 by doing this:
~
a = str(input("Please enter sentence to convert into an acronym: ")).split()
for x in a:
print(str(x[0]).capitalize(), end="")
~

godiamcrazydude
Автор

Python is so tricky. No loops but indentation. No variable declarations. This is going to be interesting :)

darkchocolate
Автор

Dark code looks great, having followed many videos, it does help my eyes when I am typing. :)

jonathanplasky
Автор

Awesome Derek ! The encrypt, decrypt part reminded me of the feature film The Imitation Game

angelinajolie
Автор

you are the best teacher in the whole wide world. thanks a lot boss. i am a novice but your lessons are fast getting me to the prof level.

obiekeziejudeuchechukwu
Автор

you are awesome man, i just want to say thank you

أقوى_من_الأمس
Автор

Thanks for the tuts. I like the way you give us something to practice. I pledged to your Patreon. Thanks Again!

boirokk
Автор

As always, great vids. I´m so impatient so your short vids are a blessing and motivates me to keep learning. Of course I had to solve your first problem really complicated.

MyString=input("Please enter a string: ").upper()

MyList=MyString.split()

for x in range (0, len(MyList)):
print(MyString[MyString.find(MyList[x])], end="")
print("")

:)

sirinongorur
Автор

Thanks Derek. I found it hard to solve this Caesar Cipher on my own but I really enjoy your videos!
Excellent work!

Teamer
Автор

you've left me speechless with this tutorial. You're the best Derek

masoud
Автор

Cheap method to the acronym problem:

usr_str = input("Enter a string to convert to an acronym: ")

for x in (usr_str.split()):

print(x[0].capitalize(), end="")

robotninja
Автор

Really liking the series so far and definitely liking the dark background. It is a lot easier on the eyes.

acehanks
Автор

I personally use the dark theme myself and it feels nice to see my mentor use the same theme.

unknownface
Автор

Awesome! if in the future tutorials you do more string manipulation i would suggest a short overview of regex (re module in python) just to show a "general" usecase like scraping.

mareinstalator
Автор

Hi, could you please do a tutorial on OOP in C++ (just like you did with JavaScript)? BTW Your tutorials are plainly awesome! Instead of reading 600+ page book I usually just go carefully through your videos and use the book on the fly if needed.

wandaxDesign