end of the video should refactor it

This commit is contained in:
2026-01-05 21:54:53 +01:00
parent 0ac9fb2303
commit d3cfde767f
8 changed files with 187 additions and 2 deletions

8
1.Basic/8.While.ps1 Normal file
View File

@@ -0,0 +1,8 @@
$xmen = @('Wolverine', 'Cyclops', 'Storm', 'Professor x', 'Gambie', 'Dr. Jean Grey')
$counter = 0
While ($counter -ne 6){
Write-Host $xmen[$counter] "is a mutant!"
$xmen[$counter].Length
$counter++;
}