|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching • Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
comparing tuplesTwo tuples are the same as long as they have the same type and the same contents, i.e. pairwise, every field has the same type and same content. var child: tuple[name: string, age: int] child = (name: "Aria", age: 2) let impostor = ("Aria", 2) assert child == impostor # true |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |