+ 1

Getting better ?

Hello, currently i'am having a course in python, i understand very well the basics but when it get to projects or assignments such as : """creating a function that takes a string and return a new string with all the letters of the alphabet that are not in the argument string and the returned string should be in alphabetical order.""" It gets complicated for me to find solutions to these kind of problems, so i was wondering if with a lot of practice and doing exercises i can get better at solving these problems in the future and i would require less the use of google to find answers ?. Kind regards

6th Aug 2020, 3:37 AM
Louai Belfounes
Louai Belfounes - avatar
2 odpowiedzi
+ 3
You can learn this from more on geeksforgeeks, w3school Udemy & YouTube etc.
6th Aug 2020, 3:40 AM
Sâñtôsh
Sâñtôsh - avatar
0
Louai Belfounes The basics is what you need. Since you understand the basics very well, all that is remaining for you is to know how to turn words into action. Like in your assignment above: -> Create a function that..... def func(string, argument_string) -> Remove this from that. -> Sort alphabetically -> return output What the question essentially wants is this: Eg. func("great","good") Remove g,o,o,d in "great" == "reat" Then return alphabetical order of "reat" Output == "aert" Try to understand any question first because you can't know the answer if you don't. Then break it down into simple steps. Happy Coding 😀😀
6th Aug 2020, 7:00 AM
Tomiwa Joseph
Tomiwa Joseph - avatar