This file contains 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
# Function to create Fibonacci Sequence given that the user defines number of values | |
# First, use the "def" keyword to define the function | |
def fibonacciSequence(): | |
# Next, asking users to state the proportion or number of sequence terms to generate | |
numberOfTerms = int(input("Hi, enter number of terms to for the Sequence: ")) | |
# Defining the first two terms that are mandatory |
This file contains 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
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.0; | |
import "hardhat/console.sol"; | |
contract Transactions { | |
uint256 transactionCount; | |
event Transfer(address from, address receiver, uint amount, string message, uint256 timestamp, string account, string keyword); |