+ 10
Zak DEV , you have started learning from python tutorial *python core* just a few days ago. i would recommend you: > start learning with tutorial *python for beginners*. i know, nobody likes to be a beginner, but it makes sence to first learn the basics. > be patient, learning takes some time and effort. practice as much as you can afford. > use ths sololearn tutorials, read them and work through them. if you get stuck use the web. there are many sources where you can find additional information. use also videos from youtube. > try to communicate in english, so everybody can undersrand you. gutes gelingen!
18th Oct 2022, 6:08 AM
Lothar
Lothar - avatar
+ 1
== Is equal to 4 == 5 (is 4 equal to 5) += Add and update total 4 += 5 (4+5 = 9) != Doesn't equal 4 != 5 (4 doesn't equal 5, this is true)
18th Oct 2022, 7:19 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
While loop: i = 1 while i < 6:   print(i)   i += 1 Im Grunde ist es ganz einfach, die while Schleife wiederholt jeden Befehl der unter der while Schleife steht, solange die Bedingung 1 erfĂŒllt. Das heisst wenn while 1 steht hĂ€ttest du eine Endlosschleife, deshalb brauchst du eine "Abbruchbedinung" die hier i<6 ist, wenn i dann 6 erreicht hat ist die Abfrage 0 und die while Schleife endet, also bricht ab. i+=1 ist indem Fall die Zuweisung i=i+1
21st Oct 2022, 12:37 PM
Benjamin Kestler