Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of Koga

Koga

Koga has asked 0 questions and find answers to 2 problems.

Stats

26
EtPoint
4
Vote count
0
questions
2
answers

About

class koga(object):
    def __init__(self):
        self.name = 'Koga'
        self.age = 'Unknown'
        self.location = 'Moon'

    def fav_lang(self):
        self.thinkfavlang = input("What is his favorite language?")
        self.actualfavlang = 'Python'
        if self.thinkfavlang != self.actualfavlang:
            print("WRONG. It is {0}").format(self.actualfavlang)