+ 7
Are the python challenges really hard?
When i try to solve challenges I find myself lost. I do understand the functions and what they're supposed to do, but the results take time in my head to get the final result. (decor functions and nested lists .. )I started to feel confused and disappointed. something is wrong. do you advise me to study something else in addition or should I quit learning programming.
7 Antworten
+ 11
don't quit so easy. Try to write some codes in python, that is the best way to practice and learn...
+ 6
Bro Python is very easy, you need to understand the syntaxes and one thing I found in every other languages is increment and decrement quizzes. You need to understand every little thing in programming language.
+ 3
well.. I reviewed the python course again and this code doesn't make any sense yet..
my_num = 1234
a = str(my_num // 1000%10)
b = str(my_num // 100%10)
c = str(my_num // 10%10)
d = str(my_num // 1%10)
print (d+c+b+a)
How can the correct answer be 4321?
I know that 1000%10 equals zero and so does 100%10 and 10%10.. and these is no zeros in my_num.
.... well?! am I missing something?!!
+ 1
Nothing is hard if you learn it with your full concentration 😀
+ 1
guys please i need some help to understand the above mentioned code. was what I've just said correct or i got it wrong?
0
it seems that no one read the code i mentioned above. everyone is answering the main question without looking at the mysterious code which caused my problem. thanks anyway.
- 2
only if you have not enough knowledge abt language