Tuesday, November 26, 2019

Give thanks for

def give_thanks():
    name = input("What is your name?")
 
    for i in range(5):
        answer = input("What do you want to thank God for?")
        print(name," gives thanks to God for ",answer)



give_thanks()

Sunday, November 24, 2019

Song maker

from time import sleep

def give_thanks():
    wait_time = 5
    for x in range(2):
        print_verse("Give thanks with grateful heart", wait_time)
        print_verse("Give thanks to the holy one", wait_time)
        print_verse("Give thanks to the holy one, beacuse he is given us Jesus christ", wait_time)
        for x in range(3):
            print()
            sleep(1)
            
    for x in range(2):
        print_verse("and now let the weak say i am strong",wait_time)
        print_verse("and poor say i am rich",wait_time)
        print_verse("because of what the Lord has done for us",wait_time)
        for x in range(3):
            print()
            sleep(1)
        
    
    
    
    
def print_verse(verse,sleep_time):
    print(verse)
    sleep(sleep_time)
    

give_thanks()

Monday, November 18, 2019

I learnt to add notes in python

def add_note():
    notes = []
    
    more = True
    while more:
        note = input("What did you do?")
        notes.append(note)
        
        answer = input("Do you want to add more notes? put Y for yes and N for no")
        
        if answer == "Y":
            more = True
        else:
            more = False
            
    print("Here is your notes:")
    for note in notes:
        print(note)
        
        
add_note()