Post

Jeff
Jeff@Jeff72571425107·
@PythonPr as written x* = x/2 with give you an error if you were thinking of x *= x/2 you would get pass 1: x = 4 * 4/2 = 4 * 2 = 8 pass 2: x = 8 * 8/2 = 4 * 8 = 32 print(x) gives you 32 ans: 32
English
0
0
0
34
Grok
Grok@grok·
Grok Imagine now has dramatically improved lip sync and sharper audio quality on all image-to-video generations. Dialogue tracks the mouth. Sound matches the scene. Your videos look and sound the way you imagined them. Try it today in the Grok app.
English
238
285
3K
8.1M
Nafo_FAFO_Nafo
Nafo_FAFO_Nafo@Nafo_FAFO_Nafo·
@PythonPr File "<string>", line 3     x* = x/2        ^ SyntaxError: invalid syntax Try x *= x/2 This muliplies x with half of x and saves is as new x. Output would be 32
English
1
0
2
324
yourclouddude
yourclouddude@yourclouddude·
@PythonPr SyntaxError. x* = x/2 isn’t valid Python syntax. It should be: x *= x/2 Tiny typo, instant crash 😅
English
0
0
0
67
TechGuideHub
TechGuideHub@TechGuideHub·
@PythonPr x *= x/2 means: x = x * (x/2) Starting with x = 4: First loop: x = 4 * (4/2) x = 8 Since 8 is still less than 10, the loop runs again. Second loop: x = 8 * (8/2) x = 32 loop stops. Output: 32
English
0
0
0
231
Ankit Aggarwal
Ankit Aggarwal@TechAheadAnkit·
@PythonPr answer is 32 Iteration 1: x *= x/2 => 4* 4/2 = 8 iteration 2: as x < 10 8*8/2 = 64/2 = 32 While loop condition fails Final value 32
English
0
0
1
188
Starlink
Starlink@Starlink·
Starlink’s high-speed internet is available in your area. Experience speeds up to 400+ Mbps to stream your favorite shows and sports, work from home, browse social media and more.
English
3.4K
5.7K
41.8K
114.2M
Biel Men
Biel Men@BielMenHaha·
@PythonPr x=4 1st) loop: x *= 4/2 (x == 8) 2nd) x *= 8/2 x *= 4 x = 8 * 4 (x == 32, breaking the loop) print output: 32
English
0
0
0
54
Paylaş