EasyManuals Logo

Casio fx-CG50 User Manual

Casio fx-CG50
667 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #576 background imageLoading...
Page #576 background image
17-17
input u Operation in the Python mode
input is a built-in Python function that accepts user input while a py script is running.
input Syntax
Description
input([prompt text string])
While a py script is running,
input writes the [prompt text
string] of the argument into the SHELL result output line, and
stands by for user input.
A string variable name or a character string enclosed in
double quotation marks (”) or single quotation marks (’) can
be specified for the [prompt text string].
In the case of a string variable up to 16 characters long, all of the characters of the string
variable name specified by
input will be displayed as the prompt when the function is executed
in the Python mode. In the case of a string variable longer than 16 characters, the first 15
characters of the string variable followed by the similarity symbol (~) will be displayed as the
prompt.
input execution example
Prompt text string up to 16 characters long
(”123?” input as the prompt text string.)
Prompt text string longer than 16 characters
(”12345678901234567” input as the prompt text string.)
Initializing the SHELL k
Functions and variables that are defined, modules that are imported, and the results of other
SHELL operations are stored in the SHELL heap area (temporary storage memory area) while
the SHELL is running. Whenever the SHELL is exited (by going to a different Python mode
screen), the SHELL heap area contents up to that point are cleared. This clearing of SHELL
heap area contents is called “SHELL initialization”.
• When you restart the SHELL in the Python mode, the
message “½ SHELL Initialized ½” will appear in the line
above the bottom line (prompt line) of the SHELL screen.
This message will appear only if you re-display the SHELL •
screen, but it won’t appear the first time you display the
SHELL screen after entering the Python mode.

Table of Contents

Other manuals for Casio fx-CG50

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio fx-CG50 and is the answer not in the manual?

Casio fx-CG50 Specifications

General IconGeneral
Display TypeColor LCD
ConnectivityUSB
GraphingYes
Dimensions188.5 x 89 x 18.6 mm
Weight230 g
CASNo
Storage16 MB Flash ROM
3D GraphingYes
SpreadsheetYes
Equation SolverYes
Statistical FunctionsYes
Financial FunctionsYes
Power Source4 x AAA batteries
Programming LanguagesBASIC
Memory16 MB

Related product manuals