#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목vs code에서 input() 안되는 현상2022-10-17 22:53
작성자

비주얼코드에서 input()에서 prompt를 쓰면 input값을 입력할 수 없고 바로 에러 메세지가 떠버리는데 비주얼코드에서 prompt를 오류없이 사용하려면 어떻게 해야하나요?


userInput =  input("Enter you number: ") -> 이땐 문제 없이 input값을 입력할 수 있지만

userInput = input(prompt="Enter your number: ") -> 이땐 input값을 입력하기도 전에 input 값이 없다고 에러 메세지가 떠버려요


감사합니다.


댓글
이전[re]Python정렬문제2022-10-19
다음[re]vs code에서 input() 안되는 현상2022-10-18