Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lab_III_3_01_12_2020
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
def GCD_recursive(n, m): if n < m: m, n = n, m if m == 0: return n else: return GCD_recursive(m, n % m) # Task 3. Write an iterative version of the above function # Team 1: # Akhilesh Patel, Anand Panchal, Brian Bvunza # Team 2: # Gaous Saklaen, Ivan Sulaiman # Team 3 # Nabeel Yassine, Pruthvirajsinh Vala, Tendai Tarisai Matsinde # Team 4 # Yuran Onions, Jainal Panchal
[
+
]
Show input
edit mode
|
history
|
discussion