+ 1
Anyone can learn python? I had a doubt
5 ответов
+ 2
Ofcourse, why not.Python is one of the beginner friendly programming languages.
+ 2
Yes, if you're motivated and you like it, you can.
Python is a very easy language to learn, especially for beginners.
Python is a general programming language, can be used in many and many fields.
In short, python can be the perfect language for beginners and on higher levels too. :)
+ 1
Yes, anyone can learn python programming language without taking any doubt and confusion. As we know that, python programming language is very useful in competitive programming, software development, backend web development, data science works, robotics, circuit progrsmming in rasberry pi and artificial intelligence programming. Our sololearn community create three separate courses for python according to its own level.
I suggest you to first start your python for beginners course in sololearn then after completing python for beginners course goes to python for intermediate course after completing python for intermediate course goes to python core course. After completing python core course you are able to program in python very easily.
After completing python core course you can write system scripts or hacking scripts for security penetration purpose. You can able to program network switches. After completing this course you can work in data science fields. You can work as a backend web developer.
Hope! You like my answer.
Thank You!
+ 1
name1=list(input("enter your name").lower())
name2=list(input("enter partners name").lower())
for letter in name1[:]:
if letter in name2:
name1.remove(letter)
name2.remove(letter)
count=len(name1)+len(name2)
Flames=["friends","love","affection","marrege","enemy","sibilings"]
i=0
current_count=0
while len(flames)>1:
if current_count==count-1:
flames.pop(i)
current_count=0
i=(i+1)%len(flames)
current_count+=1
print("your relationship is", flames[0])
Please find the mistake
0
1) you doesn't need to turn input (string) into list until you want to deal with 'mutable' string (string is a kind of immutable list of char, or more accurately char tuple like)
2) you doesn't need to use slicing notation to access full iterable (list, tuple, string...): name1[:] is a full clone of your name1
3) to get some luck to find mistake(s) we must know what the code is supposed to do: what are you expecting as result for wich input, what are you getting instead ^^