当前位置: 首页>>代码示例>>Python>>正文


Python Feedback.get_feedback方法代码示例

本文整理汇总了Python中feedback.Feedback.get_feedback方法的典型用法代码示例。如果您正苦于以下问题:Python Feedback.get_feedback方法的具体用法?Python Feedback.get_feedback怎么用?Python Feedback.get_feedback使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在feedback.Feedback的用法示例。


在下文中一共展示了Feedback.get_feedback方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: print

# 需要导入模块: from feedback import Feedback [as 别名]
# 或者: from feedback.Feedback import get_feedback [as 别名]
print("\nBefore feedback:\nNickname: {}\nKnowledge level: {}\nEnergy level: {}\nJoy level: {}".format(
    móni.nickname, móni.knowledge_level, móni.energy_level, móni.joy_level))
skip = input()
f.give_feedback(móni)
skip = input()
print("After feedback:\nNickname: {}\nKnowledge level: {}\nEnergy level: {}\nJoy level: {}".format(
    móni.nickname, móni.knowledge_level, móni.energy_level, móni.joy_level))
skip = input()

print("Sometimes a mentor needs a feedback too, even if his name is Miki...")
skip = input()
print("Tomi is the mentor who always ready to help to his friends.")
print("\nBefore feedback:\nNickname: {}\nKnowledge level: {}\nEnergy level: {}\nJoy level: {}".format(
    miki.nickname, miki.knowledge_level, miki.energy_level, miki.joy_level))
skip = input()
f.get_feedback(miki)
skip = input()
print("Before feedback:\nNickname: {}\nKnowledge level: {}\nEnergy level: {}\nJoy level: {}".format(
    miki.nickname, miki.knowledge_level, miki.energy_level, miki.joy_level))
skip = input()

print("At the end of the day, Tomi checks CANVAS.")
skip = input()
a = Assignment("OOP project", 24)
a.check_assignment(tomi)
skip = input()
print("He forgets that the deadline hour doesn't come yet. But now he knows.")
skip = input()
print("And he checks an other assignment.")
skip = input()
print("Before checking:\nNickname: {}\nKnowledge level: {}\nEnergy level: {}\nJoy level: {}".format(
开发者ID:CodecoolBP20161,项目名称:a-mentor-s-life-in-an-oo-way-act-1,代码行数:33,代码来源:story.py


注:本文中的feedback.Feedback.get_feedback方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。