Advertisement
KYRALEKOS

bioinformatics 2 6/3/20

Mar 6th, 2020
521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.46 KB | None | 0 0
  1. #!/usr/bin/perl -w
  2. #print 'hello world!!\n';
  3.  
  4.  
  5. $n1=24;
  6. $n2 =10;
  7.  
  8. #$sum=$n1+$n2;
  9.  
  10. #print "$n1+$n2"; # typwnei tis metavlhtes kai to  
  11. #print '$n1+$n2'; #typwnei $n1+$n2
  12.  
  13. $sum=$n1++; auto tha ektelestei ws h telikh tropopoihsh se ayth thn entolh
  14. $sum=++$n1; #prwta tropopoihse to n1 kai meta apoyhikeuse
  15. print $sum;
  16.  
  17.  
  18. #!/usr/bin/perl -w
  19. $i=1;
  20. $i++;
  21. $i*=$i; #$i=$i*$i
  22. $i.=$i; #$i=$i.i=44
  23. $i=$i/11; #4
  24. $i=$i." score and".$i++; 4 score and 4
  25. print $i;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement