Kiyoung Moon
Tuesday, June 30, 2020
Python single line for loop
# example of single line for loop
x = [1,2,3,4]
print( sum(e for e in x) )
I can get 10. What if we don't have a single line for loop?
s = 0
for e in x:
s += e
print(s)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Task in UnrealEngine
https://www.youtube.com/watch?v=1lBadANnJaw
Unity : FPS Microgame Analysis -1-
Unity released very good FPS example for people and I decided to analysis how they make this. Personally I wanted to show you how I analys...
(모음집) NSObjectCRuntime.h에서 오류가 나올 때
NSObjectCRuntime.h에서 오류가 나올 때 십중팔구 cpp파일의 속성을 objective c++로 설정하지 않아서 생기는 문제이다. 끝.
Quaternion Exponentiation
For instance I have 45 degree rotation quaternion p. and if I take p ^ (1/3) then I'll get 15 degree rotation quaternion. This is geomet...
No comments:
Post a Comment