-
var.....type: declare variables with/without values. Support multi variables and type can be written asint/float/char/string/bool. <{1+1}> is a value but 1+1 not(it's expression) -
var......type:
import string,iostream
var a,c,d = 1,
<{(2*2+6)/2}>
,4 int
var b = "hello world" string
var f1,f2,f3 float
var c1 char
var b1 = <{1+1==2}> bool
input(f1)
print(a," ",c," ",d," ",b," ",b1," ",f1)
Top comments (0)