What’s the output of this code? Python Quiz 1 #Shorts

preview_player
Показать описание
Simple python code to test your python skills

This video shows a python coding quiz, and it's part of the python shorts quiz playlist.

If you enjoy python shorts videos to learn programming,
like and subscribe for more python shorts videos!

You have suggestions for upcoming videos? let me know :)

❤️ You want to support this channel? ❤️

Python Coding Quiz
Python Shorts Playlist
Python vs Java Playlist
Java Shorts Playlist

Music:
Licensed under Creative Commons: By Attribution 3.0 License

#python #coding #codingquiz #quiz
#it #pythontutorial #code #programming
Рекомендации по теме
Комментарии
Автор

The output is Yes, because if you did fraction, the result of 5/2 would be 2.5, and 2.5 is greater than 2, therefore the output of the input is "yes".

ilikespaceengine
Автор

Wouldn’t the result be a float and wouldn’t be able to be compared to an int? 🥴

MarttyMarty