Created
October 18, 2022 04:42
-
-
Save RaMSFT/78cb80900124e17abc5aedb9171ef66d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def full_half_quarter_so_on(num): | |
result = [num, num/2, num/4, num/8] | |
return result | |
print(full_half_quarter_so_on(6)) | |
print(full_half_quarter_so_on(22)) | |
print(full_half_quarter_so_on(25)) | |
print(full_half_quarter_so_on(100)) | |
print(full_half_quarter_so_on(400)) | |
print(full_half_quarter_so_on(120)) | |
print(full_half_quarter_so_on(80)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment