Concept PE
Concept PE
i. print(str[::3])
T 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3
T n n w h y o
ii.print(str[::‐3]) nt igkh
‐3 ‐2 ‐1 ‐3 ‐2 ‐1 ‐3 ‐2 ‐1 ‐3 ‐2 ‐1 ‐3 ‐2 ‐1 ‐3 ‐2 ‐1
h k g i t n
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
C O M P U T E R S C I E N C E
C O M P U T E
20 Write an SQL statement to create a table for employee having any five fields and create a M20 38
table constraint for the employee table
create table employee(eno integer, ename char(15), dob date, address char(30), area char(25), primary
key(eno, dob));