01-10807-개수세기 입력받아서 리스트 변수로 넣기 리스트 항목 개수 세기 N = int(input()) ARRAY = list(map(int, input().split())) NUMBER = i…
Read more »font 추가 font download website : https://fonts.google.com/ custom font 사용법 : https://docs.flutter.dev/cookbook/d…
Read more »01-2739-구구단 a = int(input()) i = 1 while i < 10: print(f"{a} * {i} = {a*i}") i += 1 02-109…
Read more »자료가 많으면 스크롤이 자동으로 생기지는 않는다. Listview안에 넣으면 스크롤이 자동으로 생긴다 home: Scaffold( appBar: AppBar(), body: ListView…
Read more »빈공간에 stless 입력하고 tab키 누르면 아래 내용이 자동완성된다 class extends StatelessWidget { const ({Key? key}) : super(key: ke…
Read more »container 크기를 비율로 주고 싶으면 flexible를 적용하면 된다. 아래 처럼 적용하면 3:7의 비율이 된다. Row( children: [ Flexib…
Read more »Text와 아이콘에 스타일 적용하기 Text에 색상 입히기 Text에 Style을 주고 싶을때. 아래처럼 정의된 색상을 이용할 수 있다. return Material…
Read more »여백주기 - margin, padding Container 바깥에 여백을 주고 싶으면 margin을 적용하면된다. EdgeInsets.all() 을 쓰면 네 모서리 모두에 같은 값을 적용할수…
Read more »flutter에서 앱 디자인 하는 법 : 위젯을 짜집기 한다. 아래는 안녕이라는 text 위젯 만들기 lib/main.dart 파일이 홈페이지 만드는 파일 import 'package:flut…
Read more »백준 홈페이지 - 문제 - 단계별로 풀어보기 중 2. 조건문 문제와 내가 쓴 답들 1330번 문제 if 함수를 쓸줄만 알면 된다. a, b = map(int, input().spli…
Read more »백준 홈페이지 - 문제 - 단계별로 풀어보기 중 1. 입출력과 사칙연산 문제와 내가 쓴 답들 2557번 문제 print 함수를 쓸줄만 알면 된다. print("Hello …
Read more »array 정의 변수 정의시 괄호를 쓰면 array로 정의된다. 대괄호에는 Index를 쓰면 해당 Index에 정의된 값을 호출할 수 있다. #!/bin/bash arr=(Hello World…
Read more »
Social Plugin