Udemy class day2 Functions, Conditionals, Input, For Loop, Dict Loops and String Formatting

Life Is Wonderful *|2020년 5월 16일
Posts

Udemy class day2 Functions, Conditionals, Input, For Loop, Dict Loops and String Formatting

Life Is Wonderful *|2020년 5월 16일

-내가 정리한 내용 instance(3, int)True How to make your code more readable?It is better to have a space between operators. if 3>1: print('a') 보다는 if 3 > 1: print('a') 가 더 읽기쉬움 After colon(:) you always have to have 4 space indentation. if 3 > 1:____print('a') String Formatting user_input = input("Enter your name: ")message = f"Hello {user_input}" # later