“Was sind die Datentypen?” Code-Antworten

Was sind die Datentypen?

• number(num) - whole numbers up to num digits
• number(num,num2) - num whole numbers up to num2 decimals
• char(num) - fixed length character/string
• varchar2(num) - used for varying length data
• date - full date
• currency - used for prices 
Obedient Ocelot

Datentypen

#simple intrest in python
P=float(input('principle amount:'))
R=float(input('rate:'))
T=int(input('Time:'))
SI=(P*R*T)/100
print('simple intrest=',SI)
#output:
principle amount:
rate:
Time:
simple intrest=
_____________________________________________________________________________
Gr@Y_orphan_ViLL@in##

Datentypen

short int 
	2 
 	-32,768 to 32,767 
 	%hd 
 
unsigned short int 
 	2 
 	0 to 65,535 
 	%hu 
 
unsigned int 
 	4 
 	0 to 4,294,967,295 
 	%u 
 
int 
 	4 
 	-2,147,483,648 to 2,147,483,647 
 	%d 
 
long int 
 	4 
 	-2,147,483,648 to 2,147,483,647 
 	%ld 
 
unsigned long int 
 	4 
 	0 to 4,294,967,295 
 	%lu 
 
long long int 
 	8 
 	-(2^63) to (2^63)-1 
 	%lld 
 
unsigned long long int 
 	8 
 	0 to 18,446,744,073,709,551,615 
 	%llu 
 
signed char 
 	1 
 	-128 to 127 
 	%c 
 
unsigned char 
 	1 
 	0 to 255 
 	%c 
 
float 
 	4 
 	 	%f 
 
double 
 	8 
 	 	%lf 
 
long double 
 	16 
 	 	%Lf 
Heckar

Datentyp

#the basics of python system.
         #numeric -int,float,complex,bool
         #sequences- list,tuple,set,string,range
         #loops - for and while
         #condition- ==,<,>,<=,>=
         #functions(methods)
------------------------------------------------
Gr@Y_orphan_ViLL@in##

Ähnliche Antworten wie “Was sind die Datentypen?”

Fragen ähnlich wie “Was sind die Datentypen?”

Weitere verwandte Antworten zu “Was sind die Datentypen?” auf Sql

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen