how do he do this time 😂 #computerscience #coding #stem #python #apcs

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Now build a full-stack application and deploy it within 1 minute

СергейДехтярёв-ън
Автор

It's nice to see, that Software developers think the same way as beginners: line by line, command by command, try and error. It motivates me to move forward on software development.

felixro
Автор

def printTo(n):
if n>=0:
printTo(n-1)
print(n)

hugocusson
Автор

Range goes from the 0 to n+1 so that the last can be (n+1)-1=n so from 0 to n

shreshthsharma
Автор

for i in range(0, 6):
print(i)

amanbailwal
Автор

I think it's harder to put shapes in their correct holes

kipchickensout
Автор

Since when did computer science majors do python instead of c++

waves
Автор

Range goes from 0 to N. There isn’t any 5 in N so they had to do n+1. Also, since we need 0-5 we can’t do the range as 1, n+1. The starting point must be 0 so we do 0, n+1. The def printTo(n): is the function to print to n.

PixelPenguin
Автор

def printTo (n):
for i in range(0, n + 1):
print(i)
printTo(5)

gvtoannguyenthihoaihuong
Автор

am studying programming this needs like 10 sec to code or slove rofl long live C++ ♥

selmanhisoka
Автор

I'm done after seeing him struggle in this 😆🤣

globalcitizen
Автор

Haha thanks i am learning more with fun

bij_ay
Автор

now way dis dude a softwar eng, ig ill be fine then. I’m a first year and we just pretty much just dabbled on python abit and ngl i already solved it in barely 15 secs

Hansu
Автор

But the sentence says find, not solve

friedrichvillegasmurillo
Автор

def printTo(n):
print(*[i for i in range(n+1)], sep=‘\n’)

…ahh moment 😧😧

fredthekng
Автор

He checked the money if it was real 💀💀💀

bstudio
Автор

I asked my daughter to count 0 to 5 and she did it in 2 seconds. Only a noop will take more than 30 seconds to figure this out.

loganmoua
Автор

For n in range (0, 5, 1):
Print (n)

parabellumytb
Автор

If you print "until" n, wouldn't that mean that n is not printed?

MagnuSagus
Автор

def printTo(n):
if n == 0:
print(n)
printTo(n-1)
print(n)

ناشر_للقرآن_الكريم
welcome to shbcf.ru